diff options
-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 |