chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
get-rfc: switch to HTTPS
[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