mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 20:54:34 +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