download.sh (716B)
1 set -e 2 set +o noglob 3 FLAGS="-H -a --no-motd" 4 EXCLUDE_ARCH="alpha arm source i386 mips ppc s390" 5 EXCLUDE="" 6 for arch in $EXCLUDE_ARCH; do 7 EXCLUDE="--exclude arch-${arch}* \ 8 --exclude binary-${arch}/ \ 9 --exclude *_${arch}.deb \ 10 --exclude *_${arch}.udeb \ 11 --exclude installer-${arch}/ \ 12 --exclude Contents-${arch}* \ 13 --exclude Contents-udeb-${arch}* \ 14 $EXCLUDE" 15 done 16 OPTIONS1=$EXCLUDE 17 OPTIONS2="--delete-after" 18 /usr/bin/rsync $FLAGS $OPTIONS1 ftp.de.debian.org::debian/ ./debian && 19 /usr/bin/rsync $FLAGS $OPTIONS2 ftp.de.debian.org::debian/ ./debian && 20 /bin/date -u > /srv/debian/project/trace/`hostname`