aboutsummaryrefslogtreecommitdiffstats
path: root/debian/sitesummary.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sitesummary.postinst')
-rw-r--r--debian/sitesummary.postinst13
1 files changed, 5 insertions, 8 deletions
diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst
index 257da8b..83eff31 100644
--- a/debian/sitesummary.postinst
+++ b/debian/sitesummary.postinst
@@ -89,14 +89,11 @@ case "$1" in
triggered)
- if [ -x /usr/sbin/a2enmod ] ; then
- a2enmod -m -q cgid
- a2enmod -m -q cgi
- fi
- if [ -x /usr/sbin/a2enconf ] ; then
- a2enconf sitesummary
- service apache2 restart
- fi
+ if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
+ . /usr/share/apache2/apache2-maintscript-helper
+ apache2_invoke enmod cgi.load
+ apache2_invoke enconf sitesummary.conf
+ fi
;;