projects
/
amavisd-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
izmjene za jessie
[amavisd-cn.git]
/
debian
/
postrm
diff --git
a/debian/postrm
b/debian/postrm
index
91e920c
..
9a69787
100755
(executable)
--- a/
debian/postrm
+++ b/
debian/postrm
@@
-17,24
+17,13
@@
set -e
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
# 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*
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
fi
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
+exit 0
#DEBHELPER#
#DEBHELPER#
-
-exit 0