[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.44-805-gcb3c644

Andreas Beckmann debian at abeckmann.de
Tue Jun 19 00:15:18 UTC 2012


The following commit has been merged in the develop branch:
commit 165b5fec100af47caa0b488f102ef39a23b0c19a
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Tue Jun 19 00:21:12 2012 +0200

    scripts-leftovers: enable Cyrus Spool purge
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

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
index be10aab..afb91d0 100755
--- a/org/piuparts.debian.org/etc/scripts-leftovers/pre_remove_preseed_cleanup
+++ b/org/piuparts.debian.org/etc/scripts-leftovers/pre_remove_preseed_cleanup
@@ -31,4 +31,10 @@ if [ -d /var/lib/ldap ]; then
 	echo "slapd slapd/purge_database boolean true" | debconf-set-selections
 fi
 
+if [ -d /var/lib/cyrus ] || [ -d /var/spool/cyrus ] || [ -d /var/spool/sieve ]; then
+	log_debug
+	echo "Enabling Cyrus spool purge."
+	echo "cyrus-common cyrus-common/removespools boolean true" | debconf-set-selections
+fi
+
 exit 0

-- 
piuparts git repository



More information about the Piuparts-commits mailing list