瀏覽代碼

download.pl: Change OpenWrt mirrors to HTTPS.

These have supported HTTPS for quite a while. I have not seen any obvious breakage.

Signed-off-by: Rosen Penev <[email protected]>
Rosen Penev 7 年之前
父節點
當前提交
1ce846580a
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      scripts/download.pl

+ 4 - 4
scripts/download.pl

@@ -257,10 +257,10 @@ foreach my $mirror (@ARGV) {
 	}
 }
 
-#push @mirrors, 'http://mirror1.openwrt.org';
-push @mirrors, 'http://sources.lede-project.org';
-push @mirrors, 'http://mirror2.openwrt.org/sources';
-push @mirrors, 'http://downloads.openwrt.org/sources';
+#push @mirrors, 'https://mirror1.openwrt.org';
+push @mirrors, 'https://sources.lede-project.org';
+push @mirrors, 'https://mirror2.openwrt.org/sources';
+push @mirrors, 'https://downloads.openwrt.org/sources';
 
 while (!-f "$target/$filename") {
 	my $mirror = shift @mirrors;