X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostrm;h=c5afcf0fc738286a540a9dd6a1cb318bc661d359;hb=HEAD;hp=8973879ff6b8c66ebeb149c925f3818fcdc12b5a;hpb=68e596ee1d7104a35847a0f3ed5f49b8c1d06d2a;p=mailman-cn.git diff --git a/debian/postrm b/debian/postrm index 8973879..c5afcf0 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 --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#