aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--debian/sitesummary.postinst11
2 files changed, 2 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog
index 58a7310..4fa499f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ sitesummary (0.1.11) UNRELEASED; urgency=low
postinst to enable the apache configuration by default on fresh
installs.
* Add missing ${perl:Depends} to binary packages dependency list.
+ * Remove obsolete code from sitesummary postinst, used when
+ migrating apache config in sitesummary version 0.0.7.
-- Petter Reinholdtsen <pere@debian.org> Thu, 21 Aug 2014 10:21:24 +0200
diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst
index a3301bf..4a2ed69 100644
--- a/debian/sitesummary.postinst
+++ b/debian/sitesummary.postinst
@@ -41,17 +41,6 @@ EOF
case "$1" in
configure)
-
- # Adjust to the new config location, in
- # /etc/apache2/conf.d/sitesummary
- if [ -f /etc/apache2/sites-available/sitesummary ] ; then
- if [ -f /etc/apache2/sites-enabled//sitesummary ] &&
- [ -x /usr/sbin/a2dissite ] ; then
- a2dissite sitesummary
- fi
- rm /etc/apache2/sites-available/sitesummary
- fi
-
# Enable it on fresh installations as before Apache 2.4.
if [ -z "$2" ] && \
[ -e /usr/share/apache2/apache2-maintscript-helper ] ; then