From 3b06b8b1c1094441dd6bc3a2ee06024b96364dfa Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Thu, 21 Aug 2014 11:06:38 +0200 Subject: Remove obsolete code from sitesummary postinst, used when migrating apache config in sitesummary version 0.0.7. --- debian/changelog | 2 ++ debian/sitesummary.postinst | 11 ----------- 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 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 -- cgit v1.2.3