9 local SYMLINK_TARGET
="$2"
11 [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \
12 [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
15 SYMLINK
=/usr
/share
/doc
/ss-dev
18 if [ "$1" = "install" -o "$1" = "upgrade" ] &&
19 [ -n "$2" ] && [ -h "$SYMLINK" ] &&
20 symlink_match
"$SYMLINK" "$SYMLINK_TARGET"
22 mv -f "$SYMLINK" "${SYMLINK}.dpkg-backup"