From e8603283e0bca5e9b6986cefb0234cfce999db69 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 13 Oct 2015 13:17:17 +0200 Subject: reproducible: only update pbuilder base.tgz's if they exist --- bin/reproducible_maintenance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index b7b8d5a8..49c145ad 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -82,7 +82,7 @@ for s in $SUITES ; do pbuilder_http_proxy="--http-proxy $http_proxy" fi for i in 1 2 3 4 ; do - sudo pbuilder --update $pbuilder_http_proxy --basetgz /var/cache/pbuilder/$s-reproducible-base.tgz + [ ! -f /var/cache/pbuilder/$s-reproducible-base.tgz ] || sudo pbuilder --update $pbuilder_http_proxy --basetgz /var/cache/pbuilder/$s-reproducible-base.tgz RESULT=$? if [ $RESULT -eq 1 ] ; then # sleep 61-120 secs -- cgit v1.2.3-70-g09d2