X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fprerm;h=f756ca331d24b5949f175f33482c76148c09fd78;hb=769486bfdf841be2143514182d1297b644664b34;hp=cba794cc6f9bd3d4d9319d0050cb6773ebd94985;hpb=7cb72dc6d7fb9f6ae152d3bb3a5f66ae3df649f7;p=amavisd-cn.git diff --git a/debian/prerm b/debian/prerm index cba794c..f756ca3 100755 --- a/debian/prerm +++ b/debian/prerm @@ -36,24 +36,15 @@ if [ "$1" = remove ]; then cp-update -r $PKG $master_cf >&- del_postconf content_filter echo "Removed postfix configuration for ${PKG}." - if pgrep -u root -f /usr/lib/postfix/master >&- && \ - [ -x /etc/init.d/postfix ] >&- ; then - if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d postfix restart - else - /etc/init.d/postfix restart - fi - fi + service postfix restart fi cp-update -r $PKG $ALIASES >&- - if [ -x /usr/bin/newaliases ]; then - newaliases - fi + newaliases fi +exit 0 + # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# - -exit 0