X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=scripts%2Fnfu%2Fget-w-b-db;fp=scripts%2Fnfu%2Fget-w-b-db;h=48d2c5f8ec499fce7d7bb3da27e190caa65f3c0a;hb=8e475b502ed8cc0696984ac7cb7aad91a0cfca27;hp=0000000000000000000000000000000000000000;hpb=ac07da16a0b098e7aa41b045b34152f4c7cc578b;p=dak.git diff --git a/scripts/nfu/get-w-b-db b/scripts/nfu/get-w-b-db new file mode 100755 index 00000000..48d2c5f8 --- /dev/null +++ b/scripts/nfu/get-w-b-db @@ -0,0 +1,20 @@ +#!/bin/bash + +# list of architectures taken from +# http://buildd.debian.org/stats/ + +# For debugging, you can override the path using +# the WB_DB_DIR enviroment variable +if [ -z "$WB_DB_DIR" ] +then + WB_DB_DIR=/org/ftp.debian.org/scripts/nfu +fi + +cd $WB_DB_DIR || { echo "Failed to cd to $WB_DB_DIR" ; exit 1 ;} + +for arch in alpha amd64 arm armel hppa i386 ia64 m68k mips mipsel powerpc s390 sparc +do + rm -f $arch-all.txt + echo "Getting $arch-all.txt" + wget -q http://buildd.debian.org/stats/$arch-all.txt +done