script: downlaod: change mirror for kernel.org
[openwrt/openwrt.git] / scripts / download.pl
index cd68a7bcd0cf4ade9caf82cf305e43ed155539d5..abe0bfa8b950853c847fdd3c8a5ebf1702991407 100755 (executable)
@@ -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";