summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-13 13:17:17 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-13 13:17:17 +0200
commite8603283e0bca5e9b6986cefb0234cfce999db69 (patch)
tree223b8e9257efdbab4f6de6ee632f1dae6c48d17a /bin
parent6a6a0d019365fa6fa49d3a17ec254117d63668c6 (diff)
downloadjenkins.debian.net-e8603283e0bca5e9b6986cefb0234cfce999db69.tar.xz
reproducible: only update pbuilder base.tgz's if they exist
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
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