[debian-edu-commits] debian-edu/upstream/ 01/02: 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
schweer-guest at moszumanska.debian.org
Mon Nov 14 21:03:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
schweer-guest pushed a commit to branch master
in repository sitesummary.
commit d8dabc8f2271071831fbbad17736488a0fa216e8
Author: Wolfgang Schweer <wschweer at arcor.de>
Date: Mon Nov 14 22:00:55 2016 +0100
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
---
debian/changelog | 9 +++++++++
debian/sitesummary.postinst | 13 +++++++++++++
2 files changed, 22 insertions(+)
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 at 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)
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/sitesummary.git
More information about the debian-edu-commits
mailing list