From 9a90f803771a7a5ae498c642002333156b186fef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eddy=20Petri=C8=99or?= Date: Tue, 18 Mar 2008 14:06:07 +0200 Subject: Only use ftp or http as a default source URI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- debian/pbuilder.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/pbuilder.config') 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 -- cgit v1.2.3