X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostrm;h=c5afcf0fc738286a540a9dd6a1cb318bc661d359;hb=e1ec5443c6843c4358352e064708dd22d95a881e;hp=2bcf4b28d4afed3701024a1617daba06bc833411;hpb=44c55fd6214d7b90b0adba7740129b516a3853e3;p=mailman-cn.git diff --git a/debian/postrm b/debian/postrm index 2bcf4b2..c5afcf0 100755 --- a/debian/postrm +++ b/debian/postrm @@ -8,7 +8,13 @@ if [ /etc/apache2/conf.d/mailman-cn.conf ]; then rm -f /etc/apache2/conf.d/mailman-cn.conf fi -# restartat apache -if [ -x /etc/init.d/apache2 ]; then - /etc/init.d/apache2 reload || true +a2disconf mailman-cn --quiet + +if [ /etc/apache2/conf-available/mailman-cn.conf ]; then + rm -f /etc/apache2/conf-available/mailman-cn.conf fi + +# reload apache2 +service apache2 reload + +#DEBHELPER#