Author: hauke
Date: 2015-09-11 19:59:12 +0200 (Fri, 11 Sep 2015)
New Revision: 46875

Modified:
   trunk/scripts/download.pl
Log:
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 <[email protected]>


Modified: trunk/scripts/download.pl
===================================================================
--- trunk/scripts/download.pl   2015-09-11 17:58:39 UTC (rev 46874)
+++ trunk/scripts/download.pl   2015-09-11 17:59:12 UTC (rev 46875)
@@ -173,8 +173,8 @@
                        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";;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to