diff options
author | Eddy Petrișor <eddy.petrisor@gmail.com> | 2008-03-18 14:06:07 +0200 |
---|---|---|
committer | Eddy Petrișor <eddy.petrisor@gmail.com> | 2008-03-18 14:10:36 +0200 |
commit | 9a90f803771a7a5ae498c642002333156b186fef (patch) | |
tree | a79e5e4d9463f59e155b39d81ede91b3289bc277 | |
parent | 191dfdf1253e9dd570a2e0024be68bd0b6fe693d (diff) | |
download | pbuilder-9a90f803771a7a5ae498c642002333156b186fef.tar pbuilder-9a90f803771a7a5ae498c642002333156b186fef.tar.gz |
Only use ftp or http as a default source URI
Although https, debtorrent, rsh, ssh and cdrom could be also used,
they need special preparation in the pbuilder environment and will
not work with a default installation made via *debootstrap.
Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
-rwxr-xr-x | debian/pbuilder.config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/pbuilder.config b/debian/pbuilder.config index e99166f..b913cca 100755 --- a/debian/pbuilder.config +++ b/debian/pbuilder.config @@ -59,7 +59,7 @@ case "$1" in MIRRORSITE=$( ( [ -f /etc/apt/sources.list ] && cat /etc/apt/sources.list || true ; [ -f $SRCLISTDIR/*.sources.list ] && cat $SRCLISTDIR/*.sources.list || true ) \ - | grep -E '^deb ' | head -n 1 | awk '{print $2;}' + | grep -E '^deb (ftp|http):' | head -n 1 | awk '{print $2;}' ) while [ -z "$MIRRORSITE" ] ; do db_input high pbuilder/nomirror || true |