Lines Matching refs:SYMLINK
8 local SYMLINK="$1"
11 [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \
12 [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
15 SYMLINK=/usr/share/doc/comerr-dev
19 if [ "$1" = "purge" ] && [ -h "${SYMLINK}.dpkg-backup" ]
21 rm -f "${SYMLINK}.dpkg-backup"
24 [ -n "$2" ] && [ ! -e "$SYMLINK" ] && [ -h "${SYMLINK}.dpkg-backup" ]
26 if symlink_match "${SYMLINK}.dpkg-backup" "$SYMLINK_TARGET" ||
27 symlink_match "${SYMLINK}.dpkg-backup" "$SYMLINK_TARGET2"
29 echo "Restoring backup of $SYMLINK ..."
30 mv "${SYMLINK}.dpkg-backup" "$SYMLINK"