[debian-edu-commits] debian-edu/upstream/ 03/07: Remove obsolete code from sitesummary postinst, used when migrating apache config in sitesummary version 0.0.7.

Petter Reinholdtsen pere at moszumanska.debian.org
Thu Aug 21 09:25:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository sitesummary.

commit 3b06b8b1c1094441dd6bc3a2ee06024b96364dfa
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Thu Aug 21 11:06:38 2014 +0200

    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 <pere at 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/sitesummary.git



More information about the debian-edu-commits mailing list