From 1b76d7006bc0ad1dcfaf490ac041853a3c660eb2 Mon Sep 17 00:00:00 2001 From: Tianling Shen Date: Mon, 19 Apr 2021 01:36:37 +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 05f115b308..a09d1454e5 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/openwrt-18.06"; -unshift @mirrors, "https://mirror02.download.immortalwrt.eu.org/openwrt-18.06"; +push @mirrors, "https://mirror01.download.immortalwrt.eu.org/openwrt-18.06"; +push @mirrors, "https://mirror02.download.immortalwrt.eu.org/openwrt-18.06"; push @mirrors, "https://openwrt.cc/dl/immortalwrt/openwrt-18.06"; push @mirrors, 'https://sources.cdn.openwrt.org'; push @mirrors, 'https://sources.openwrt.org';