diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-04-08 14:04:14 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-04-08 14:04:14 +0200 |
commit | 125e5c48116a83e939bba49799cd05dbe7c6f848 (patch) | |
tree | a3e09dd80b672bcb2eded5b3b8ee8a545946afb8 | |
parent | 51357ed592999c4d4ccddbf0741e5f7221d4126e (diff) | |
download | jenkins.debian.net-125e5c48116a83e939bba49799cd05dbe7c6f848.tar.xz |
chroot-installation: dont fail if no transitional packages are installed…
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/chroot-installation.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh index dd2bd52a..aa9462c8 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:" |