diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2015-09-11 17:59:12 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2015-09-11 17:59:12 +0000 |
commit | 1f9e25d6dd7870572c6686793af1aeb160eec558 (patch) | |
tree | 09e657397913e955d749511b57e1384e36708fb1 /scripts | |
parent | 0ba7b4358b6dd12fe5c194be04ee8f5a653d6db9 (diff) | |
download | master-187ad058-1f9e25d6dd7870572c6686793af1aeb160eec558.tar.gz master-187ad058-1f9e25d6dd7870572c6686793af1aeb160eec558.tar.bz2 master-187ad058-1f9e25d6dd7870572c6686793af1aeb160eec558.zip |
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 <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46875 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/download.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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"; |