download.pl: use https://source.openwrt.org
authorYousong Zhou <yszhou4tech@gmail.com>
Sun, 18 Aug 2019 15:18:10 +0000 (15:18 +0000)
committerJo-Philipp Wich <jo@mein.io>
Wed, 4 Sep 2019 11:41:25 +0000 (13:41 +0200)
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>
(cherry picked from commit 0f3667864d5391c2d9ace63ccfc83ab270405cc9)

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;