diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-14 02:11:20 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-14 02:11:20 +0200 |
commit | efba4df20bf350d668ac6982ee3dc9fd84e90a96 (patch) | |
tree | f18df578a18ec145cb03e648cd8b2d1847fa9cdf /bin | |
parent | 2f731866bb6757f97c1a1df406b31fa963f99f4c (diff) | |
download | jenkins.debian.net-efba4df20bf350d668ac6982ee3dc9fd84e90a96.tar.xz |
reproducible: only update existing schroots
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_maintenance.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 49c145ad..ae9b85cf 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -53,7 +53,7 @@ for s in $SUITES ; do # echo "$(date -u) - updating the $s/$ARCH schroot now." for i in 1 2 3 4 ; do - schroot --directory /root -u root -c source:jenkins-reproducible-$s -- apt-get update + [ ! -d $SCHROOT_BASE/reproducible-$s ] || schroot --directory /root -u root -c source:jenkins-reproducible-$s -- apt-get update RESULT=$? if [ $RESULT -eq 1 ] ; then # sleep 61-120 secs |