xref: /aosp_15_r20/external/e2fsprogs/debian/e2fsprogs.preinst (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1#!/bin/sh
2
3# Abort on error.
4set -e
5
6PKG=e2fsprogs
7DOCLNK=/usr/share/doc/$PKG
8if test "$1" = upgrade \
9    -a -L $DOCLNK
10then
11    rm $DOCLNK
12fi
13
14# dh_installdeb will replace this with shell code automatically
15# generated by other debhelper scripts.
16
17#DEBHELPER#
18
19exit 0
20