From: Hauke Mehrtens Date: Fri, 11 Sep 2015 17:59:12 +0000 (+0000) Subject: script: downlaod: change mirror for kernel.org X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=accc5e369343b9389081dc7ede7197e55d52d74f;p=openwrt%2Fstaging%2Faparcar.git script: downlaod: change mirror for kernel.org kernel.org now suggests a different mirror address. this one also support IPv6 connections and was faster for me. Signed-off-by: Hauke Mehrtens SVN-Revision: 46875 --- diff --git a/scripts/download.pl b/scripts/download.pl index cd68a7bcd0..abe0bfa8b9 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -173,8 +173,8 @@ foreach my $mirror (@ARGV) { push @extra, "$extra[0]/longterm/v$1"; } foreach my $dir (@extra) { - push @mirrors, "ftp://ftp.all.kernel.org/pub/$dir"; - push @mirrors, "http://ftp.all.kernel.org/pub/$dir"; + push @mirrors, "https://kernel.org/pub/$dir"; + push @mirrors, "ftp://kernel.org/pub/$dir"; } } elsif ($mirror =~ /^\@GNOME\/(.+)$/) { push @mirrors, "http://ftp.gnome.org/pub/GNOME/sources/$1";