X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostrm;h=f86734080e2201209743cecbcf233c708cbf45b3;hb=c27a02a6e5d0d09c40d14b6ed808d44fc5d25954;hp=9a66c719d662fdaa55e1b7cf1a10ecf20ed0fb39;hpb=21f8ca85bfe69e06d45e20ccc13b45d722686e63;p=squirrelmail-cn.git diff --git a/debian/postrm b/debian/postrm index 9a66c71..f867340 100644 --- a/debian/postrm +++ b/debian/postrm @@ -2,13 +2,22 @@ set -e -# Debconf -. /usr/share/debconf/confmodule +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + dpkg-divert --package squirrelmail-cn --remove --rename \ + --divert /usr/share/squirrelmail/functions/strings.php.squirrelmail \ + /usr/share/squirrelmail/functions/strings.php + ;; -if [ "$1" = purge ]; then - db_purge -fi + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac -db_stop +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# exit 0