[openwrt/openwrt] scripts: sources CDN as fallback in download.pl

LEDE Commits lede-commits at lists.infradead.org
Thu Jan 28 03:46:25 EST 2021


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/7521aedff46f731036c09f44859262085c00d303

commit 7521aedff46f731036c09f44859262085c00d303
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Tue Jan 26 18:13:28 2021 -1000

    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 at aparcar.org>
---
 scripts/download.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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';
 



More information about the lede-commits mailing list