projects
/
mailman-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
novi debian/rules i novi debian/copyright
[mailman-cn.git]
/
debian
/
postrm
diff --git
a/debian/postrm
b/debian/postrm
index
2bcf4b2
..
e7ef9b3
100755
(executable)
--- a/
debian/postrm
+++ b/
debian/postrm
@@
-8,7
+8,9
@@
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
+# 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
fi
fi