[med-svn] r3433 - trunk/packages/gnumed-server/trunk/debian

Andreas Tille tille at alioth.debian.org
Tue May 26 07:01:02 UTC 2009


Author: tille
Date: 2009-05-26 07:01:02 +0000 (Tue, 26 May 2009)
New Revision: 3433

Modified:
   trunk/packages/gnumed-server/trunk/debian/changelog
   trunk/packages/gnumed-server/trunk/debian/postrm
   trunk/packages/gnumed-server/trunk/debian/prerm
Log:
Enable clean purge by removing logfiles of bootstrap process


Modified: trunk/packages/gnumed-server/trunk/debian/changelog
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/changelog	2009-05-26 06:56:44 UTC (rev 3432)
+++ trunk/packages/gnumed-server/trunk/debian/changelog	2009-05-26 07:01:02 UTC (rev 3433)
@@ -1,3 +1,9 @@
+gnumed-server (0v10.5-2) UNRELEASED; urgency=low
+
+  * debian/prerm: Clean up logfiles of bootstrap process
+
+ -- Andreas Tille <tille at debian.org>  Tue, 26 May 2009 08:57:26 +0200
+
 gnumed-server (0v10.5-1) unstable; urgency=low
 
   * New upstream version

Modified: trunk/packages/gnumed-server/trunk/debian/postrm
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/postrm	2009-05-26 06:56:44 UTC (rev 3432)
+++ trunk/packages/gnumed-server/trunk/debian/postrm	2009-05-26 07:01:02 UTC (rev 3433)
@@ -21,7 +21,9 @@
 
 case "$1" in
     purge)
-	rm -rf /var/log/gnumed/server/
+	# Moved this to prerm
+	# rm -rf /var/log/gnumed/server/
+	# rm -f /var/lib/gnumed/server/bootstrap/*.log
     ;;
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
     ;;

Modified: trunk/packages/gnumed-server/trunk/debian/prerm
===================================================================
--- trunk/packages/gnumed-server/trunk/debian/prerm	2009-05-26 06:56:44 UTC (rev 3432)
+++ trunk/packages/gnumed-server/trunk/debian/prerm	2009-05-26 07:01:02 UTC (rev 3433)
@@ -18,6 +18,10 @@
 
 
 case "$1" in
+    purge)
+        rm -rf /var/log/gnumed/server/
+        rm -f /var/lib/gnumed/server/bootstrap/*.log
+    ;;
     remove|upgrade|deconfigure)
 	if [ -d /var/lib/gnumed/server/bootstrap ] ; then
 	    rm -f /var/lib/gnumed/server/bootstrap/*.pyc




More information about the debian-med-commit mailing list