Преглед на файлове

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 години
родител
ревизия
7521aedff4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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://mirror2.openwrt.org/sources';