mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
CC: 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. Backport from trunk's 1f9e25d. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
committed by
Zoltan HERPAI
parent
03d52cfcff
commit
9a1fd3e313
@@ -177,8 +177,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";
|
||||
|
||||
Reference in New Issue
Block a user