mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-02-27 05:18:55 +00:00
Use relative path in latest link
This commit is contained in:
parent
e7f7ac8334
commit
61136611de
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue