aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Schweer <wschweer@arcor.de>2016-11-14 22:00:55 +0100
committerWolfgang Schweer <wschweer@arcor.de>2016-11-14 22:00:55 +0100
commitd8dabc8f2271071831fbbad17736488a0fa216e8 (patch)
treec1794f243dc91e29e6d76bd059c06f850df96d0f
parentbf4714afe92d30764d58f303fb121db00fa3e857 (diff)
downloadsitesummary-d8dabc8f2271071831fbbad17736488a0fa216e8.tar.gz
sitesummary-d8dabc8f2271071831fbbad17736488a0fa216e8.tar.bz2
sitesummary-d8dabc8f2271071831fbbad17736488a0fa216e8.tar.xz
Make sure sitesummary configuration is enabled even in case apache2 is
installed after sitesummary (Closes: #760084, #830102). - Add file d/sitesummary.triggers - Add configuration code for triggered) case to d/sitesummary.postinstall
-rw-r--r--debian/changelog9
-rw-r--r--debian/sitesummary.postinst13
2 files changed, 22 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 6d83e31..5ed7388 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+sitesummary (0.1.23) UNRELEASED; urgency=medium
+
+ * Make sure sitesummary configuration is enabled even in case apache2 is
+ installed after sitesummary (Closes: #760084, #830102).
+ - Add file d/sitesummary.triggers
+ - Add configuration code for triggered) case to d/sitesummary.postinstall
+
+ -- Wolfgang Schweer <wschweer@arcor.de> Mon, 14 Nov 2016 21:45:06 +0100
+
sitesummary (0.1.22) unstable; urgency=medium
* Make sure to recommend hdparm, to have it available when running
diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst
index 3401acf..257da8b 100644
--- a/debian/sitesummary.postinst
+++ b/debian/sitesummary.postinst
@@ -87,6 +87,19 @@ 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
+
+ ;;
+
abort-upgrade|abort-remove|abort-deconfigure)
;;