download.pl: use https://source.openwrt.org
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 0f3667864d)
This commit is contained in:
committed by
Jo-Philipp Wich
parent
3112703077
commit
a929c1bad0
@@ -258,9 +258,8 @@ foreach my $mirror (@ARGV) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#push @mirrors, 'https://mirror1.openwrt.org';
|
#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://mirror2.openwrt.org/sources';
|
||||||
push @mirrors, 'https://downloads.openwrt.org/sources';
|
|
||||||
|
|
||||||
while (!-f "$target/$filename") {
|
while (!-f "$target/$filename") {
|
||||||
my $mirror = shift @mirrors;
|
my $mirror = shift @mirrors;
|
||||||
|
|||||||
Reference in New Issue
Block a user