aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2021-01-26 18:13:28 -1000
committerPaul Spooren <mail@aparcar.org>2021-01-27 22:46:08 -1000
commit7521aedff46f731036c09f44859262085c00d303 (patch)
tree89024f27d5c8b7df7a446fd0070fec1fcc92c01e
parent799fca7602fffd17bedea972c3fa8f0e6141c265 (diff)
downloadupstream-7521aedff46f731036c09f44859262085c00d303.tar.gz
upstream-7521aedff46f731036c09f44859262085c00d303.tar.bz2
upstream-7521aedff46f731036c09f44859262085c00d303.zip
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>
-rwxr-xr-xscripts/download.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index 84d10dbe5f..61af0a0429 100755
--- a/scripts/download.pl
+++ b/scripts/download.pl
@@ -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';