From: Joerg Jaspert Date: Sun, 3 Aug 2014 11:53:43 +0000 (+0200) Subject: Fix breakage on missing w-b dump for an arch X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=57e1504acfc97d1d1c06765f8c24b3f6cb32b600;p=dak.git Fix breakage on missing w-b dump for an arch The w-b admins may take some time until they have a new architecture all set up. And until they do generate the buildd.d.o/stats/$arch-all.txt we shouldn't break on it missing. Signed-off-by: Joerg Jaspert --- diff --git a/scripts/nfu/get-w-b-db b/scripts/nfu/get-w-b-db index 57afc92c..42e2c6ad 100755 --- a/scripts/nfu/get-w-b-db +++ b/scripts/nfu/get-w-b-db @@ -34,5 +34,5 @@ export SCRIPTVARS=/srv/ftp-master.debian.org/dak/config/debian/vars WB_DB_DIR=${WB_DB_DIR:-${scriptdir}/nfu} for arch in $(dak admin s-a list-arch unstable); do - wget -q http://buildd.debian.org/stats/$arch-all.txt -O ${WB_DB_DIR}/${arch}-all.txt + wget -q http://buildd.debian.org/stats/$arch-all.txt -O ${WB_DB_DIR}/${arch}-all.txt || echo "No w-b dump for ${arch}" done