From dd5110d97668c8e36d270e5b38337c091d57a1a6 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Mon, 19 Apr 2021 01:40:29 +0800 Subject: [PATCH] scripts/download.pl: only call our own mirror when failed to download Signed-off-by: Tianling Shen --- scripts/download.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/download.pl b/scripts/download.pl index fd0f326664..5db19ff468 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -280,8 +280,8 @@ foreach my $mirror (@ARGV) { } } -unshift @mirrors, "https://mirror01.download.immortalwrt.eu.org/master"; -unshift @mirrors, "https://mirror02.download.immortalwrt.eu.org/master"; +push @mirrors, "https://mirror01.download.immortalwrt.eu.org/master"; +push @mirrors, "https://mirror02.download.immortalwrt.eu.org/master"; push @mirrors, "https://openwrt.cc/dl/immortalwrt/master"; push @mirrors, 'https://sources.cdn.openwrt.org'; push @mirrors, 'https://sources.openwrt.org';