Skip to content

Commit

Permalink
download.pl: use https://source.openwrt.org
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
yousong committed Aug 18, 2019
1 parent b39ded4 commit 0f36678
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/download.pl
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,8 @@ sub cleanup
}

#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;
Expand Down

0 comments on commit 0f36678

Please sign in to comment.