scripts/download.pl: prefer the GNU mirror redirect over the primary site (#14603)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39045
This commit is contained in:
Felix Fietkau 2013-12-13 16:43:07 +00:00
parent 1eff212ce8
commit 27fe688c5f

View file

@ -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";