chiark / gitweb /
pull-mail: add --force option; extend running times
[bin.git] / get-deb
1 #! /bin/sh
2 set -e
3
4 FILENAME=$(grep-available -PXnsFilename $1)
5
6 if [ -n "$FILENAME" ]; then
7     if echo "$FILENAME" | grep non-US; then
8         lftpget "ftp://ftp.uk.debian.org/debian-non-US/$FILENAME"
9     else
10         lftpget "ftp://ftp.uk.debian.org/debian/$FILENAME"
11     fi
12 fi