[Qa-jenkins-scm] [jenkins.debian.net] 01/01: chroot-installation: dont fail if no transitional packages are installed…

Holger Levsen holger at layer-acht.org
Sat Apr 8 12:04:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 125e5c48116a83e939bba49799cd05dbe7c6f848
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sat Apr 8 14:04:14 2017 +0200

    chroot-installation: dont fail if no transitional packages are installed…
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/chroot-installation.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index dd2bd52..aa9462c 100755
--- a/bin/chroot-installation.sh
+++ b/bin/chroot-installation.sh
@@ -288,7 +288,7 @@ fi
 #
 if [ "$DISTRO" = "sid" ] ; then
 	# ignore multiarch-support because the transition will never be finished…
-	( sudo chroot $CHROOT_TARGET dpkg -l | grep -v multiarch-support | grep -i "Transitional" 2>/dev/null ) > $TMPFILE
+	( sudo chroot $CHROOT_TARGET dpkg -l | grep -v multiarch-support | grep -i "Transitional" 2>/dev/null || true) > $TMPFILE
 	if [ -s $TMPFILE ] ; then
 		echo
 		echo "Warning: Transitional packages found:"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list