diff options
| author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-09-11 17:59:12 +0000 |
|---|---|---|
| committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-09-11 17:59:12 +0000 |
| commit | accc5e369343b9389081dc7ede7197e55d52d74f (patch) | |
| tree | 2b3a7d9ab98bef231a5efc663ce6e2c3057cab6e /scripts | |
| parent | 98e00f8fdd92174aad58612107fd2cee06fbe036 (diff) | |
| download | mtk-20170518-accc5e369343b9389081dc7ede7197e55d52d74f.zip mtk-20170518-accc5e369343b9389081dc7ede7197e55d52d74f.tar.gz mtk-20170518-accc5e369343b9389081dc7ede7197e55d52d74f.tar.bz2 | |
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>
SVN-Revision: 46875
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 cd68a7b..abe0bfa 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"; |
