From 57e1504acfc97d1d1c06765f8c24b3f6cb32b600 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 3 Aug 2014 13:53:43 +0200 Subject: [PATCH] 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 --- scripts/nfu/get-w-b-db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2