Browse Source

scripts: sources CDN as fallback in download.pl

In case the default sources for a package fail use the CDN rather than
our own mirror. In case the CDN fails, fallback to our mirror.

Also remove mirror1 which isn't available anymore.

Signed-off-by: Paul Spooren <[email protected]>
Paul Spooren 4 years ago
parent
commit
7521aedff4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/download.pl

+ 1 - 1
scripts/download.pl

@@ -258,7 +258,7 @@ foreach my $mirror (@ARGV) {
 	}
 	}
 }
 }
 
 
-#push @mirrors, 'https://mirror1.openwrt.org';
+push @mirrors, 'https://sources.cdn.openwrt.org';
 push @mirrors, 'https://sources.openwrt.org';
 push @mirrors, 'https://sources.openwrt.org';
 push @mirrors, 'https://mirror2.openwrt.org/sources';
 push @mirrors, 'https://mirror2.openwrt.org/sources';