From: RISCi_ATOM Date: Thu, 7 Jun 2018 23:01:50 +0000 (-0400) Subject: Remove GitHub from download.pl and add libreCMC's GNU mirror X-Git-Tag: v1.4.4~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=035c985d3b25a315abb45e12b67c790175eaafed;p=librecmc%2Flibrecmc.git Remove GitHub from download.pl and add libreCMC's GNU mirror Note: Not all ref. have been removed from the project. --- diff --git a/scripts/download.pl b/scripts/download.pl index dfb46e1ae9..93e275992f 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -194,12 +194,8 @@ foreach my $mirror (@ARGV) { } elsif ($mirror =~ /^\@APACHE\/(.+)$/) { push @mirrors, "https://mirror.netcologne.de/apache.org/$1"; push @mirrors, "https://mirror.aarnet.edu.au/pub/apache/$1"; - } elsif ($mirror =~ /^\@GITHUB\/(.+)$/) { - # give github a few more tries (different mirrors) - for (1 .. 5) { - push @mirrors, "https://raw.githubusercontent.com/$1"; - } } elsif ($mirror =~ /^\@GNU\/(.+)$/) { + push @mirrors, "https://librecmc.org/pub/gnu/$1"; push @mirrors, "https://mirrors.rit.edu/gnu/$1"; push @mirrors, "https://mirror.netcologne.de/gnu/$1"; } elsif ($mirror =~ /^\@SAVANNAH\/(.+)$/) {