X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=mailman-cn.git;a=blobdiff_plain;f=debian%2Fpostrm;h=584e16862d1ebd7e2212d1716757a4d619da45b3;hp=8973879ff6b8c66ebeb149c925f3818fcdc12b5a;hb=e120cc562359bc442a411340e09dc448f8e509b1;hpb=061eb7029db45cc2b032adbd80418542476693ce diff --git a/debian/postrm b/debian/postrm index 8973879..584e168 100755 --- a/debian/postrm +++ b/debian/postrm @@ -8,11 +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#