aboutsummaryrefslogtreecommitdiffstats
path: root/debian/sitesummary.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sitesummary.postinst')
-rw-r--r--debian/sitesummary.postinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst
new file mode 100644
index 0000000..fad658a
--- /dev/null
+++ b/debian/sitesummary.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+# Adjust to the new config location, in /etc/apache2/conf.d/sitesummary
+if [ /etc/apache2/sites-available/sitesummary ]; then
+ a2dissite sitesummary
+ rm /etc/apache2/sites-available/sitesummary
+fi
+
+#DEBHELPER#