[Piuparts-commits] [piuparts] 02/02: scripts-leftovers: make init-system-helpers fake-essential
Holger Levsen
holger at alioth.debian.org
Mon Sep 16 11:41:06 UTC 2013
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 5b15056988f12cadb7f1cd1be22851606e321586
Author: Andreas Beckmann <anbe at debian.org>
Date: Mon Sep 16 12:15:03 2013 +0200
scripts-leftovers: make init-system-helpers fake-essential
for purging configuration from /var/lib/systemd/
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
custom-scripts/scripts-leftovers/post_setup_fake-essential | 12 +++++++++++-
debian/changelog | 2 ++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/custom-scripts/scripts-leftovers/post_setup_fake-essential b/custom-scripts/scripts-leftovers/post_setup_fake-essential
index 7a1d4aa..af7b905 100755
--- a/custom-scripts/scripts-leftovers/post_setup_fake-essential
+++ b/custom-scripts/scripts-leftovers/post_setup_fake-essential
@@ -6,6 +6,16 @@ set -e
# /etc/dbconfig-common
DBCONFIG="dbconfig-common"
+# for purging configuration from /var/lib/systemd/
+INITSYSTEMHELPERS="init-system-helpers"
+
+case ${PIUPARTS_DISTRIBUTION} in
+ lenny*|squeeze*|wheezy*)
+ # package does not exist
+ INITSYSTEMHELPERS=""
+ ;;
+esac
+
case ${PIUPARTS_OBJECTS%%=*} in
dpkg)
@@ -16,4 +26,4 @@ esac
echo "*** Adding fake essential packages ***"
-apt-get install -yf $DBCONFIG
+apt-get install -yf $DBCONFIG $INITSYSTEMHELPERS
diff --git a/debian/changelog b/debian/changelog
index aad00cb..7fd6964 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ piuparts (0.55) UNRELEASED; urgency=low
[ Andreas Beckmann ]
* Add bug templates for wheezy.
+ * scripts-leftovers: Improve cleanup in /var/lib/systemd with fake-essential
+ init-system-helpers. (Closes: #719869)
-- Ivo De Decker <ivo.dedecker at ugent.be> Sat, 24 Aug 2013 15:35:59 +0200
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list