[debian-edu-commits] r82222 - branches/wheezy/debian-edu-config/debian

pere at alioth.debian.org pere at alioth.debian.org
Mon Aug 26 09:27:33 UTC 2013


Author: pere
Date: 2013-08-26 09:27:33 +0000 (Mon, 26 Aug 2013)
New Revision: 82222

Modified:
   branches/wheezy/debian-edu-config/debian/changelog
   branches/wheezy/debian-edu-config/debian/debian-edu-config.postrm
Log:
Add code in postrm to remove the files /etc/default/enable-nat,
/var/lib/dovecot/auth_success, /etc/kde-user-profile and
/etc/kderc during purge, to remove all traces of our package.
Thank you piuparts for discovering the issue.

Modified: branches/wheezy/debian-edu-config/debian/changelog
===================================================================
--- branches/wheezy/debian-edu-config/debian/changelog	2013-08-26 09:15:17 UTC (rev 82221)
+++ branches/wheezy/debian-edu-config/debian/changelog	2013-08-26 09:27:33 UTC (rev 82222)
@@ -6,6 +6,10 @@
     allowing DNS lookups to determine host name and shave 10 seconds
     from the boot time.  Thanks to Wolfgang Schweer for discovering
     the problem.
+  * Add code in postrm to remove the files /etc/default/enable-nat,
+    /var/lib/dovecot/auth_success, /etc/kde-user-profile and
+    /etc/kderc during purge, to remove all traces of our package.
+    Thank you piuparts for discovering the issue.
 
  -- Petter Reinholdtsen <pere at debian.org>  Mon, 26 Aug 2013 11:10:00 +0200
 

Modified: branches/wheezy/debian-edu-config/debian/debian-edu-config.postrm
===================================================================
--- branches/wheezy/debian-edu-config/debian/debian-edu-config.postrm	2013-08-26 09:15:17 UTC (rev 82221)
+++ branches/wheezy/debian-edu-config/debian/debian-edu-config.postrm	2013-08-26 09:27:33 UTC (rev 82222)
@@ -23,6 +23,14 @@
 	    rm /usr/share/pam-configs/edu-krb5
 	fi
 	;;
+    purge)
+	# Generated in the postinst
+	rm /etc/default/enable-nat
+	rm /etc/kde-user-profile
+	rm /etc/kderc
+	if [ ! -s /var/lib/dovecot/auth_success ] ; then
+	    rm /var/lib/dovecot/auth_success
+	fi
 esac
 
 #DEBHELPER#




More information about the debian-edu-commits mailing list