mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-08-11 06:11:53 +08:00
scripts: sources CDN as fallback in download.pl
In case the default sources for a package fail use the CDN rather than our own mirror. In case the CDN fails, fallback to our mirror. Also remove mirror1 which isn't available anymore. Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
@ -258,7 +258,7 @@ foreach my $mirror (@ARGV) {
|
||||
}
|
||||
}
|
||||
|
||||
#push @mirrors, 'https://mirror1.openwrt.org';
|
||||
push @mirrors, 'https://sources.cdn.openwrt.org';
|
||||
push @mirrors, 'https://sources.openwrt.org';
|
||||
push @mirrors, 'https://mirror2.openwrt.org/sources';
|
||||
|
||||
|
Reference in New Issue
Block a user