[debian-edu-commits] debian-edu/ 02/02: Remove obsolete code in postrm removing the /usr/share/pam- configs/krb5 divert. It is now removed in the postinst during upgrades instead.

Petter Reinholdtsen pere at moszumanska.debian.org
Mon Sep 22 18:37:11 UTC 2014


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

pere pushed a commit to branch master
in repository debian-edu-config.

commit 07118c5d736380a6de965ed68e178aab93e427fd
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Mon Sep 22 20:36:59 2014 +0200

    Remove obsolete code in postrm removing the /usr/share/pam- configs/krb5 divert.  It is now removed in the postinst during upgrades instead.
---
 debian/changelog                | 3 +++
 debian/debian-edu-config.postrm | 4 ----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index aef6740..d6bf69e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ debian-edu-config (1.804) UNRELEASED; urgency=low
   * Change default suite for debian-edu-bless from wheezy-test to
     jessie.
   * Update standards-version from 3.9.5 to 3.9.6.  No changes needed.
+  * Remove obsolete code in postrm removing the /usr/share/pam-
+    configs/krb5 divert.  It is now removed in the postinst during
+    upgrades instead.
 
  -- Petter Reinholdtsen <pere at debian.org>  Mon, 22 Sep 2014 20:30:55 +0200
 
diff --git a/debian/debian-edu-config.postrm b/debian/debian-edu-config.postrm
index af11d46..97b5a41 100644
--- a/debian/debian-edu-config.postrm
+++ b/debian/debian-edu-config.postrm
@@ -18,10 +18,6 @@ case "$1" in
 	    && [ -x /usr/sbin/debian-edu-ltsp-audiodivert ] ; then
 	    debian-edu-ltsp-audiodivert remove
 	fi
-	if [ remove = "$1" ] && [ -e /usr/share/pam-configs/edu-krb5 ]; then
-            dpkg-divert --package debian-edu-config --remove /usr/share/pam-configs/krb5
-	    rm /usr/share/pam-configs/edu-krb5
-	fi
 	;;
     purge)
 	# Generated in the postinst

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



More information about the debian-edu-commits mailing list