X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=amavisd-cn.git;a=blobdiff_plain;f=debian%2Fprerm;h=4b4be03800f926b23777b1abcc4acec1f9890ae2;hp=9eb5a0d6ca8fdf4e5ea7e485c1a3b826ff9d8d93;hb=3b7b43b4ebd18caed1d19c8583699dc73750b084;hpb=f6f72be923b3a355cbd0e9749fa38d6736b37171 diff --git a/debian/prerm b/debian/prerm index 9eb5a0d..4b4be03 100755 --- a/debian/prerm +++ b/debian/prerm @@ -36,8 +36,7 @@ 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 /etc/init.d/postfix ]; then if [ -x /usr/sbin/invoke-rc.d ]; then invoke-rc.d postfix restart else