Remove GitHub from download.pl and add libreCMC's GNU mirror
authorRISCi_ATOM <bob@bobcall.me>
Thu, 7 Jun 2018 23:01:50 +0000 (19:01 -0400)
committerRISCi_ATOM <bob@bobcall.me>
Thu, 7 Jun 2018 23:01:50 +0000 (19:01 -0400)
Note: Not all ref. have been removed from the project.

scripts/download.pl

index dfb46e1ae9f9f42a91e0366b6004026f9f767217..93e275992fb59e52333cb78ba1f9d2ea7e792eff 100755 (executable)
@@ -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\/(.+)$/) {