izmjene za jessie
[amavisd-cn.git] / debian / postrm
index 21d308e..9a69787 100755 (executable)
@@ -17,19 +17,13 @@ set -e
 # 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
 
 exit 0
+
+#DEBHELPER#