aosp12/external/e2fsprogs/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