From 6f68bcc33594b780f2b0c5e4b9dfe3c5d665ca83 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 4 Aug 2015 16:29:14 +0200 Subject: reproducible: fail gracefully (=dont fail) if debbindiff cannot be installed from unstable in testing --- bin/schroot-create.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/schroot-create.sh') diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh index bd04fbdf..25e7fa48 100755 --- a/bin/schroot-create.sh +++ b/bin/schroot-create.sh @@ -137,10 +137,9 @@ bootstrap() { echo "deb $MIRROR unstable main" | sudo tee -a $CHROOT_TARGET/etc/apt/sources.list > /dev/null sudo chroot $CHROOT_TARGET apt-get update # install debbindiff from unstable without re-adding all recommends... - sudo chroot $CHROOT_TARGET apt-get install -y -t unstable --no-install-recommends debbindiff + sudo chroot $CHROOT_TARGET apt-get install -y -t unstable --no-install-recommends debbindiff || echo "Warning: debbindiff from unstable is uninstallable at the moment." fi if ! $DEBUG ; then set +x ; fi - # double check debbindiff version if [ "$1" = "debbindiff" ] ; then echo sudo chroot $CHROOT_TARGET dpkg -l debbindiff -- cgit v1.2.3-54-g00ecf