[Piuparts-commits] [piuparts] 02/13: leftover-checks may need openssl for better cleanup
Holger Levsen
holger at moszumanska.debian.org
Sun Nov 24 05:28:34 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 17477e15c11f674a6d85bf9a186e6b197634c258
Author: Andreas Beckmann <anbe at debian.org>
Date: Sun Nov 24 00:10:23 2013 +0100
leftover-checks may need openssl for better cleanup
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
custom-scripts/scripts-leftovers/post_setup_fake-essential | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/custom-scripts/scripts-leftovers/post_setup_fake-essential b/custom-scripts/scripts-leftovers/post_setup_fake-essential
index af7b905..0b631a6 100755
--- a/custom-scripts/scripts-leftovers/post_setup_fake-essential
+++ b/custom-scripts/scripts-leftovers/post_setup_fake-essential
@@ -16,14 +16,21 @@ case ${PIUPARTS_DISTRIBUTION} in
;;
esac
+# openssl may be used during purge to compute the hash for a
+# certificate, otherwise files in /etc/ssl/certs can't be removed.
+OPENSSL=""
+
case ${PIUPARTS_OBJECTS%%=*} in
dpkg)
# skip while creating the tarball
exit 0
;;
+ stone)
+ OPENSSL="openssl"
+ ;;
esac
echo "*** Adding fake essential packages ***"
-apt-get install -yf $DBCONFIG $INITSYSTEMHELPERS
+apt-get install -yf $DBCONFIG $INITSYSTEMHELPERS $OPENSSL
--
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