projects
/
mailman-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jos izmjena za apache 2.4
[mailman-cn.git]
/
debian
/
postrm
diff --git
a/debian/postrm
b/debian/postrm
index
2bcf4b2
..
584e168
100755
(executable)
--- 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
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
fi
+
+# reload apache2
+reload apache2 reload
+
+#DEBHELPER#