jos izmjena za apache 2.4
[mailman-cn.git] / debian / postrm
index 2bcf4b2..584e168 100755 (executable)
@@ -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#