mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Use relative path in latest link
This commit is contained in:
parent
e7f7ac8334
commit
61136611de
|
@ -33,5 +33,5 @@ rsync -avHAXS \
|
|||
# want to override latest symlink to non-existent location
|
||||
if [ -d "${BACKUP_PATH}" ]; then
|
||||
rm "${LATEST_LINK}" 2>/dev/null
|
||||
ln -s "${BACKUP_PATH}" "${LATEST_LINK}"
|
||||
ln -s "$(basename "$BACKUP_DIR")" "${LATEST_LINK}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue