9 local SYMLINK_TARGET="$2"
11 [ "$(readlink "$SYMLINK")" = "$SYMLINK_TARGET" ] || \
12 [ "$(readlink -f "$SYMLINK")" = "$SYMLINK_TARGET" ]
15 SYMLINK=/usr/share/doc/comerr-dev
16 SYMLINK_TARGET=libcomerr2
17 SYMLINK_TARGET2=libcom-err2
19 if [ "$1" = "configure" ] && [ -h "${SYMLINK}.dpkg-backup" ]
21 if symlink_match "${SYMLINK}.dpkg-backup" "$SYMLINK_TARGET" ||
22 symlink_match "${SYMLINK}.dpkg-backup" "$SYMLINK_TARGET2"
24 rm -f "${SYMLINK}.dpkg-backup"