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>
This commit is contained in:
parent
b39ded4ab7
commit
0f3667864d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user