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

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


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

    scripts-leftovers: enable LDAP database 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 9c00ba6..be10aab 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
@@ -25,4 +25,10 @@ if [ -d /var/lib/mysql ]; then
 	echo "mysql-server-5.5 mysql-server-5.5/postrm_remove_databases boolean true" | debconf-set-selections
 fi
 
+if [ -d /var/lib/ldap ]; then
+	log_debug
+	echo "Enabling LDAP database purge."
+	echo "slapd slapd/purge_database boolean true" | debconf-set-selections
+fi
+
 exit 0

-- 
piuparts git repository



More information about the Piuparts-commits mailing list