X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostrm;h=584e16862d1ebd7e2212d1716757a4d619da45b3;hb=e120cc562359bc442a411340e09dc448f8e509b1;hp=e7ef9b3df120203685d22f6df5c88420d0341a48;hpb=555fd6a113c94c78e77e835c3f73921a988cc842;p=mailman-cn.git diff --git a/debian/postrm b/debian/postrm index e7ef9b3..584e168 100755 --- a/debian/postrm +++ b/debian/postrm @@ -8,9 +8,13 @@ if [ /etc/apache2/conf.d/mailman-cn.conf ]; then rm -f /etc/apache2/conf.d/mailman-cn.conf fi -# reload apache2 -if [ -x /usr/sbin/invoke-rc.d ]; then - [ -x /etc/init.d/apache2 ] && invoke-rc.d apache2 reload -else - [ -x /etc/init.d/apache2 ] && /etc/init.d/apache2 reload +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#