[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.44-805-gcb3c644
Andreas Beckmann
debian at abeckmann.de
Tue Jun 19 00:15:10 UTC 2012
The following commit has been merged in the develop branch:
commit 40a538c6defa1cefaafaaa7e38149c33d99633a6
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Mon Jun 18 23:47:06 2012 +0200
scripts-leftovers: clear dbconfig-common logfile
/var/log/dbconfig-common/dbc.log gets modified and does not get removed
because we chose to keep dbconfig-common for using it during purge :-)
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/org/piuparts.debian.org/etc/scripts-leftovers/post_purge_dbconfig_cleanup b/org/piuparts.debian.org/etc/scripts-leftovers/post_purge_dbconfig_cleanup
new file mode 100755
index 0000000..7ed6898
--- /dev/null
+++ b/org/piuparts.debian.org/etc/scripts-leftovers/post_purge_dbconfig_cleanup
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+# If we didn't purge dbconfig-common (because it's fake-essential)
+# empty its logfile.
+if [ -f /var/log/dbconfig-common/dbc.log ]; then
+ >/var/log/dbconfig-common/dbc.log
+fi
--
piuparts git repository
More information about the Piuparts-commits
mailing list