diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2019-09-16 08:02:16 +0000 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2019-09-16 08:11:59 +0000 |
commit | 18dc533172187fce90f2fe6ade4907017946da14 (patch) | |
tree | 33db8c9ae7348738aa29b7194f2a2188578dc686 | |
parent | f39f4b2f6d4300995270f635261b07197e8cf61e (diff) | |
download | upstream-18dc533172187fce90f2fe6ade4907017946da14.tar.gz upstream-18dc533172187fce90f2fe6ade4907017946da14.tar.bz2 upstream-18dc533172187fce90f2fe6ade4907017946da14.zip |
download.dl: fix @KERNEL mirror urls
- Prepend "/pub" for mirror.rackspace.com
- Use https for download.xs4all.nl and mirrors.mit.edu
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rwxr-xr-x | scripts/download.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/download.pl b/scripts/download.pl index bd62b6b956..7d29d6bebd 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -231,12 +231,12 @@ foreach my $mirror (@ARGV) { push @extra, "$extra[0]/testing"; } elsif ($filename =~ /linux-(\d+\.\d+(?:\.\d+)?)/) { push @extra, "$extra[0]/longterm/v$1"; - } + } foreach my $dir (@extra) { push @mirrors, "https://cdn.kernel.org/pub/$dir"; - push @mirrors, "https://mirror.rackspace.com/kernel.org/$dir"; - push @mirrors, "http://download.xs4all.nl/ftp.kernel.org/pub/$dir"; - push @mirrors, "http://mirrors.mit.edu/kernel/$dir"; + push @mirrors, "https://mirror.rackspace.com/kernel.org/pub/$dir"; + push @mirrors, "https://download.xs4all.nl/ftp.kernel.org/pub/$dir"; + push @mirrors, "https://mirrors.mit.edu/kernel/$dir"; push @mirrors, "http://ftp.nara.wide.ad.jp/pub/kernel.org/$dir"; push @mirrors, "http://www.ring.gr.jp/archives/linux/kernel.org/$dir"; push @mirrors, "ftp://ftp.riken.jp/Linux/kernel.org/$dir"; |