X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostrm;h=584e16862d1ebd7e2212d1716757a4d619da45b3;hb=e120cc562359bc442a411340e09dc448f8e509b1;hp=2bcf4b28d4afed3701024a1617daba06bc833411;hpb=44c55fd6214d7b90b0adba7740129b516a3853e3;p=mailman-cn.git diff --git a/debian/postrm b/debian/postrm index 2bcf4b2..584e168 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 + +if [ /etc/apache2/conf-available/mailman-cn.conf ]; then + rm -f /etc/apache2/conf-available/mailman-cn.conf fi + +# reload apache2 +reload apache2 reload + +#DEBHELPER#