diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2014-08-21 11:06:38 +0200 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2014-08-21 11:06:38 +0200 |
commit | 3b06b8b1c1094441dd6bc3a2ee06024b96364dfa (patch) | |
tree | 9aa8f1263f42ac004468122e4fa7510d86d9509c | |
parent | 08e3a22d26ea236a64551a35de90379c64439ebf (diff) | |
download | sitesummary-3b06b8b1c1094441dd6bc3a2ee06024b96364dfa.tar.gz sitesummary-3b06b8b1c1094441dd6bc3a2ee06024b96364dfa.tar.bz2 sitesummary-3b06b8b1c1094441dd6bc3a2ee06024b96364dfa.tar.xz |
Remove obsolete code from sitesummary postinst, used when migrating apache config in sitesummary version 0.0.7.
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | 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 <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 |