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

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


The following commit has been merged in the piatti branch:
commit 71436072440055d2a2448efbc1ccbfed58bd8bca
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Mon Jun 18 23:41:33 2012 +0200

    scripts-leftovers: make dbconfig-common fake-essential
    
    If dbconfig-common was already purged, packages that have used
    dbconfig-common in postinst will leave configuration files in
    /etc/dbconfig-common
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/org/piuparts.debian.org/etc/scripts-leftovers/post_setup_fake-essential b/org/piuparts.debian.org/etc/scripts-leftovers/post_setup_fake-essential
new file mode 100755
index 0000000..7a1d4aa
--- /dev/null
+++ b/org/piuparts.debian.org/etc/scripts-leftovers/post_setup_fake-essential
@@ -0,0 +1,19 @@
+#!/bin/sh
+set -e
+
+# If dbconfig-common was already purged, packages that have used
+# dbconfig-common in postinst will leave configuration files in
+# /etc/dbconfig-common
+DBCONFIG="dbconfig-common"
+
+
+case ${PIUPARTS_OBJECTS%%=*} in
+	dpkg)
+		# skip while creating the tarball
+		exit 0
+		;;
+esac
+
+
+echo "*** Adding fake essential packages ***"
+apt-get install -yf $DBCONFIG

-- 
piuparts git repository



More information about the Piuparts-commits mailing list