scripts: add Apache fastly mirror
authorDavid Bauer <mail@david-bauer.net>
Sat, 7 Jan 2023 00:22:23 +0000 (01:22 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sat, 7 Jan 2023 00:32:58 +0000 (01:32 +0100)
Add the Apache fastly mirror as preferred download source.
This service is using a dual-stacked CDN.

Signed-off-by: David Bauer <mail@david-bauer.net>
scripts/download.pl

index 0b3f99e9b0321c2211f42193807e247353d62c7b..676c6e9e6b10b6a44ed2bbc03a7ba3c983aaf639 100755 (executable)
@@ -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";