[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.44-805-gcb3c644
Andreas Beckmann
debian at abeckmann.de
Tue Jun 19 08:54:47 UTC 2012
The following commit has been merged in the piatti branch:
commit d7da5ea3584db2fc4b4fb75a1adc4cbbada4b3f4
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Tue Jun 19 00:06:10 2012 +0200
scripts-leftovers: preseed to enable extended purge modes
enable extended purge mode that is available in some packages
but disabled by default because it might remove valuable user or
application data
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/debian/changelog b/debian/changelog
index a136afa..a6f91cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -160,6 +160,9 @@ piuparts (0.45) UNRELEASED; urgency=low
* Add custom scripts to aid debugging common problems in maintainer scripts.
* Add custom script for squeeze to ensure adduser, ucf, and install-info
are not purged.
+ * Add custom scripts to enable/perform additional cleanup procedures to
+ reduce the "FAIL: Package purging left files on system" errors if
+ --warn-on-leftovers-after-purge is not used.
[ Leo Iannacone ]
* piuparts.py: add --existing-chroot option, specify a directory as source
diff --git a/org/piuparts.debian.org/etc/scripts-leftovers/pre_remove_preseed_cleanup b/org/piuparts.debian.org/etc/scripts-leftovers/pre_remove_preseed_cleanup
new file mode 100755
index 0000000..89eea51
--- /dev/null
+++ b/org/piuparts.debian.org/etc/scripts-leftovers/pre_remove_preseed_cleanup
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -e
+
+log_debug() {
+ echo "Debug: piuparts exception for package $PIUPARTS_OBJECTS"
+}
+
+#
+# enable extended purge mode that is available in some packages
+# but disabled by default because it might remove valuable user or
+# application data
+#
+
+case ${PIUPARTS_OBJECTS%%=*} in
+esac
+
+exit 0
--
piuparts git repository
More information about the Piuparts-commits
mailing list