From: David Bauer Date: Sat, 7 Jan 2023 00:22:23 +0000 (+0100) Subject: scripts: add Apache fastly mirror X-Git-Tag: v23.05.0-rc1~1356 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fhauke.git;a=commitdiff_plain;h=9ac377d0e012e42d9cd69ccc6471fae93c738c1d 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 0b3f99e9b0..676c6e9e6b 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";