X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostrm;h=f86734080e2201209743cecbcf233c708cbf45b3;hb=refs%2Fheads%2Forigin;hp=b30cc52d3e6126e46d0857b362da209960670280;hpb=10e1b23107ae734fcaa2efa79eac426ddc9e9bd7;p=squirrelmail-cn.git diff --git a/debian/postrm b/debian/postrm index b30cc52..f867340 100644 --- a/debian/postrm +++ b/debian/postrm @@ -2,6 +2,19 @@ set -e +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 + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts.