# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
-if [ "$1" = remove ]; then
- rm -f /etc/init.d/amavis
- dpkg-divert --quiet --package amavisd-cn --remove --rename \
- --divert /etc/init.d/amavis.amavisd-new /etc/init.d/amavis || true
- update-rc.d amavis defaults 19 21 >/dev/null || true
-fi
-
if [ "$1" = purge ]; then
# REMOVING /var/lib/amavis/amavis* and /var/run/amavis
# /var/run/amavis now deleted in /etc/init.d/amavisd
# keeping virusmails until --purge is used
rm -fr /var/lib/amavis/amavis*
- update-rc.d amavisd-cn remove >/dev/null || true
fi
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
+exit 0
#DEBHELPER#
-
-exit 0