1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 22:34:04 +02:00

add a last resort SF round-robin url and some GNU mirrors

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2594 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2005-12-07 15:35:14 +00:00
parent db5aa3143e
commit 63471e4788

View File

@ -63,6 +63,7 @@ foreach my $mirror (@ARGV) {
push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath";
};
}
push @mirrors, "http://dl.sourceforge.net/sourceforge/$sfpath";
close SF;
} elsif ($mirror =~ /^\@GNU\/(.+)$/) {
my $gnupath = $1;
@ -70,6 +71,10 @@ foreach my $mirror (@ARGV) {
push @mirrors, "ftp://ftp.belnet.be/mirror/ftp.gnu.org/gnu/$gnupath";
push @mirrors, "ftp://ftp.mirror.nl/pub/mirror/gnu/$gnupath";
push @mirrors, "http://mirror.switch.ch/ftp/mirror/gnu/$gnupath";
push @mirrors, "ftp://ftp.uu.net/archive/systems/gnu/$gnupath";
push @mirrors, "ftp://ftp.eu.uu.net/pub/gnu/$gnupath";
push @mirrors, "ftp://ftp.leo.org/pub/comp/os/unix/gnu/$gnupath";
push @mirrors, "ftp://ftp.digex.net/pub/gnu/$gnupath";
} else {
push @mirrors, $mirror;
}