From: David Bauer Date: Sat, 7 Jan 2023 00:22:23 +0000 (+0100) Subject: scripts: add Apache fastly mirror X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9ac377d0e012e42d9cd69ccc6471fae93c738c1d;p=openwrt%2Fstaging%2Frmilecki.git scripts: add Apache fastly mirror Add the Apache fastly mirror as preferred download source. This service is using a dual-stacked CDN. Signed-off-by: David Bauer --- diff --git a/scripts/download.pl b/scripts/download.pl index 0b3f99e9b03..676c6e9e6b1 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -255,6 +255,7 @@ foreach my $mirror (@ARGV) { push @mirrors, "https://mirrors.tuna.tsinghua.edu.cn/debian/$1"; push @mirrors, "https://mirrors.ustc.edu.cn/debian/$1" } elsif ($mirror =~ /^\@APACHE\/(.+)$/) { + push @mirrors, "https://dlcdn.apache.org/$1"; push @mirrors, "https://mirror.netcologne.de/apache.org/$1"; push @mirrors, "https://mirror.aarnet.edu.au/pub/apache/$1"; push @mirrors, "https://mirror.csclub.uwaterloo.ca/apache/$1";