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