e2fsprogs/debian/e2fsck-static.preinst
Theodore Ts'o 7dc67c0ad5 debian: remove old symlinks to /usr/share/doc
(From NMU'ed change)

Addresses-Debian-Bug: #698879

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2013-08-11 11:49:01 -04:00

20 lines
274 B
Bash

#!/bin/sh
# Abort on error.
set -e
PKG=e2fsck-static
DOCLNK=/usr/share/doc/$PKG
if test "$1" = upgrade \
-a -L $DOCLNK
then
rm $DOCLNK
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0