download.pl: use https://source.openwrt.org
authorYousong Zhou <yszhou4tech@gmail.com>
Sun, 18 Aug 2019 15:18:10 +0000 (15:18 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Sun, 18 Aug 2019 15:19:22 +0000 (15:19 +0000)
https://sources.lede-openwrt.org now redirects to there

https://downloads.openwrt.org/sources returns 404, so remove it here

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
scripts/download.pl

index 34fd6a6f0b6bff3d1d55aee818e24fc41c6650da..bd62b6b9566ce729f78f54e3ea3ea0003c91b52b 100755 (executable)
@@ -258,9 +258,8 @@ foreach my $mirror (@ARGV) {
 }
 
 #push @mirrors, 'https://mirror1.openwrt.org';
-push @mirrors, 'https://sources.lede-project.org';
+push @mirrors, 'https://sources.openwrt.org';
 push @mirrors, 'https://mirror2.openwrt.org/sources';
-push @mirrors, 'https://downloads.openwrt.org/sources';
 
 while (!-f "$target/$filename") {
        my $mirror = shift @mirrors;