[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.48-79-gdf94975
Andreas Beckmann
debian at abeckmann.de
Sat Jan 12 11:33:11 UTC 2013
The following commit has been merged in the master branch:
commit 93bfc2bf0c66d5ed0932c05c9f1ee58177d276f1
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Fri Nov 30 17:23:32 2012 +0100
post_remove_exceptions: cleanup dovecot certificates
/etc/dovecot/dovecot.pem
/etc/dovecot/private/dovecot.pem
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/custom-scripts/scripts/post_remove_exceptions b/custom-scripts/scripts/post_remove_exceptions
new file mode 100755
index 0000000..a1606ab
--- /dev/null
+++ b/custom-scripts/scripts/post_remove_exceptions
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -e
+
+log_debug() {
+ echo "Debug: piuparts exception for package $PIUPARTS_OBJECTS"
+}
+
+#
+# deal with exceptions:
+#
+case ${PIUPARTS_OBJECTS%%=*} in
+ dovecot-core)
+ # #330519 - does not remove certificates on purge
+ log_debug
+ rm -fv /etc/dovecot/dovecot.pem /etc/dovecot/private/dovecot.pem
+ ;;
+esac
diff --git a/debian/changelog b/debian/changelog
index e399dc2..722597e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,7 @@ piuparts (0.49) UNRELEASED; urgency=low
- Hardlink the logfiles to the htdocs tree (with copy as fallback).
* pre_remove_50_find_missing_copyright: Skip check for packages that are not
installed or have only config files remaining.
+ * post_remove_exceptions: Cleanup dovecot certificates.
* New bug template: partial-upgrade-file-overwrite.
-- Andreas Beckmann <debian at abeckmann.de> Fri, 30 Nov 2012 13:11:25 +0100
--
piuparts git repository
More information about the Piuparts-commits
mailing list