izmjene za jessie
[amavisd-cn.git] / debian / prerm
index 9eb5a0d..4b4be03 100755 (executable)
@@ -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