ubuntu-buildroot/output/build/host-e2fsprogs-1.46.5/debian/e2fsprogs.preinst

20 lines
270 B
Bash

#!/bin/sh
# Abort on error.
set -e
PKG=e2fsprogs
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