[Dbconfig-common-changes] [dbconfig-common] r423 - trunk/debian

Sean Finney seanius at alioth.debian.org
Thu Mar 6 23:02:59 UTC 2008


tags 455018 pending
thanks

Author: seanius
Date: 2008-03-06 23:02:59 +0000 (Thu, 06 Mar 2008)
New Revision: 423

Modified:
   trunk/debian/changelog
   trunk/debian/dbconfig-common.postrm
Log:
#455018

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-03-06 22:36:47 UTC (rev 422)
+++ trunk/debian/changelog	2008-03-06 23:02:59 UTC (rev 423)
@@ -5,6 +5,7 @@
     admin password.  Thanks! (closes: #439081).
   * Fix from Niko Tyni for problems with opting out in preconfiguration
     scenarios (closes: #469728).
+  * Remove default logfile path/dir on purge (closes: #455018).
 
  -- Sean Finney <seanius at debian.org>  Thu, 06 Mar 2008 23:37:03 +0100
 

Modified: trunk/debian/dbconfig-common.postrm
===================================================================
--- trunk/debian/dbconfig-common.postrm	2008-03-06 22:36:47 UTC (rev 422)
+++ trunk/debian/dbconfig-common.postrm	2008-03-06 23:02:59 UTC (rev 423)
@@ -5,6 +5,9 @@
 if [ $1 = "purge" ]; then
 	rm -f /etc/dbconfig-common/config || true
 	rmdir /etc/dbconfig-common || true
+	# purge the default logfile/logdir
+	rm -f /var/log/dbconfig-common/dbc.log
+	rmdir --ignore-fail-on-non-empty /var/log/dbconfig-common
 	# This might fail if a user has chosen not to purge a database
 	rmdir --ignore-fail-on-non-empty /var/lib/dbconfig-common || true
 fi




More information about the Dbconfig-common-changes mailing list