Browse Source

Remove GitHub from download.pl and add libreCMC's GNU mirror

Note: Not all ref. have been removed from the project.
RISCi_ATOM 5 years ago
parent
commit
035c985d3b
1 changed files with 1 additions and 5 deletions
  1. 1 5
      scripts/download.pl

+ 1 - 5
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\/(.+)$/) {