diff options
Diffstat (limited to 'debian/sitesummary.postinst')
-rw-r--r-- | debian/sitesummary.postinst | 13 |
1 files changed, 13 insertions, 0 deletions
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) ;; |