summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-14 02:11:20 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-14 02:11:20 +0200
commitefba4df20bf350d668ac6982ee3dc9fd84e90a96 (patch)
treef18df578a18ec145cb03e648cd8b2d1847fa9cdf
parent2f731866bb6757f97c1a1df406b31fa963f99f4c (diff)
downloadjenkins.debian.net-efba4df20bf350d668ac6982ee3dc9fd84e90a96.tar.xz
reproducible: only update existing schroots
-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 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