From d019f87ad014ed546e805520d65fd2596776eb5e Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 18 Jul 2017 00:22:24 +0200 Subject: chroot-run: another case when to retry debootstrap… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattia Rizzolo --- bin/chroot-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh index abf70f31..e776043d 100755 --- a/bin/chroot-run.sh +++ b/bin/chroot-run.sh @@ -68,7 +68,7 @@ bootstrap() { echo "$(date -u ) - bootstraping $DISTRO into $CHROOT_TARGET now." set +e sudo debootstrap $BOOTSTRAP_OPTIONS $DISTRO $CHROOT_TARGET $MIRROR | tee $TMPLOG - local RESULT=$(egrep "E: (Couldn't download packages|Invalid Release signature)" $TMPLOG || true ) + local RESULT=$(egrep "E: (Couldn't download (packages|dists)|Invalid Release signature)" $TMPLOG || true ) rm $TMPLOG set -e if [ ! -z "$RESULT" ] ; then -- cgit v1.2.3-70-g09d2