diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 9 | ||||
-rw-r--r-- | debian/sitesummary.postinst | 13 |
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) ;; |