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

Andreas Beckmann debian at abeckmann.de
Tue Jun 19 08:54:58 UTC 2012


The following commit has been merged in the piatti branch:
commit ae51eab3a37cbd69d38f8caa5899f780957a0bbd
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Tue Jun 19 00:45:50 2012 +0200

    scripts-leftovers: cleanup dbconfig-common managed sqlite databases
    
    Several packages use dbconfig-common to create a sqlite database.
    Instruct dbconfig-common to get rid of this again.
    
    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 4e04d56..fe13fe0 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
@@ -5,6 +5,14 @@ log_debug() {
 	echo "Debug: piuparts exception for package $PIUPARTS_OBJECTS"
 }
 
+dbconfig_enable_purge()
+{
+	log_debug
+	echo "$1 $1${2+/$2}/dbconfig-remove boolean true" | debconf-set-selections
+	echo "$1 $1${2+/$2}/purge boolean true" | debconf-set-selections
+}
+
+
 #
 # enable extended purge mode that is available in some packages
 # but disabled by default because it might remove valuable user or
@@ -24,6 +32,27 @@ case ${PIUPARTS_OBJECTS%%=*} in
 		log_debug
 		echo "mlmmj mlmmj/remove-on-purge boolean true" | debconf-set-selections
 		;;
+	movabletype-opensource)
+		dbconfig_enable_purge movabletype-opensource
+		;;
+	nova-common)
+		dbconfig_enable_purge nova-common
+		;;
+	pdns-backend-sqlite)
+		dbconfig_enable_purge pdns-backend-sqlite
+		;;
+	pdns-backend-sqlite3)
+		dbconfig_enable_purge pdns-backend-sqlite3
+		;;
+	redmine)
+		dbconfig_enable_purge redmine instances/default
+		;;
+	request-tracker3.8)
+		dbconfig_enable_purge request-tracker3.8
+		;;
+	request-tracker4)
+		dbconfig_enable_purge request-tracker4
+		;;
 esac
 
 if [ -d /var/lib/mysql ]; then

-- 
piuparts git repository



More information about the Piuparts-commits mailing list