projects
/
amavisd-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Maknuta ovisnost o 'zoo'
[amavisd-cn.git]
/
debian
/
prerm
diff --git
a/debian/prerm
b/debian/prerm
index
cba794c
..
f756ca3
100755
(executable)
--- 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}."
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 >&-
fi
cp-update -r $PKG $ALIASES >&-
- if [ -x /usr/bin/newaliases ]; then
- newaliases
- fi
+ newaliases
fi
fi
+exit 0
+
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
-
-exit 0