scripts/download.pl: prefer the GNU mirror redirect over the primary site (#14603)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39045 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
31ff2e6fee
commit
752239ae40
|
@ -152,8 +152,8 @@ foreach my $mirror (@ARGV) {
|
||||||
push @mirrors, "http://downloads.sourceforge.net/$1";
|
push @mirrors, "http://downloads.sourceforge.net/$1";
|
||||||
}
|
}
|
||||||
} elsif ($mirror =~ /^\@GNU\/(.+)$/) {
|
} elsif ($mirror =~ /^\@GNU\/(.+)$/) {
|
||||||
push @mirrors, "http://ftp.gnu.org/pub/gnu/$1";
|
|
||||||
push @mirrors, "http://ftpmirror.gnu.org/$1";
|
push @mirrors, "http://ftpmirror.gnu.org/$1";
|
||||||
|
push @mirrors, "http://ftp.gnu.org/pub/gnu/$1";
|
||||||
push @mirrors, "ftp://ftp.belnet.be/mirror/ftp.gnu.org/gnu/$1";
|
push @mirrors, "ftp://ftp.belnet.be/mirror/ftp.gnu.org/gnu/$1";
|
||||||
push @mirrors, "ftp://ftp.mirror.nl/pub/mirror/gnu/$1";
|
push @mirrors, "ftp://ftp.mirror.nl/pub/mirror/gnu/$1";
|
||||||
push @mirrors, "http://mirror.switch.ch/ftp/mirror/gnu/$1";
|
push @mirrors, "http://mirror.switch.ch/ftp/mirror/gnu/$1";
|
||||||
|
|
Loading…
Reference in New Issue