X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fprerm;h=4b4be03800f926b23777b1abcc4acec1f9890ae2;hb=c09437d3ed72ce2ef77e08658aec4ab912ba178b;hp=9eb5a0d6ca8fdf4e5ea7e485c1a3b826ff9d8d93;hpb=1ec1b8e0219d4a175387217ac74db1602bbf1119;p=amavisd-cn.git 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