From 94231b00c11e23d1b1d953fcabeea23645ff9c82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=B0=91=E6=9D=B0?= Date: Sat, 18 Sep 2021 14:32:40 +0800 Subject: [PATCH] Update download2.sh add new repositories --- download2.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/download2.sh b/download2.sh index 754a676..6e245c6 100755 --- a/download2.sh +++ b/download2.sh @@ -15,6 +15,10 @@ echo synchronizing indices wget -N "${DL_HOST}/${DL_PATH}/${ADDON_SITE_INDEX}.xml" -P ${DL_PATH} sites=("${GENERAL_SITE}") + +sites+=("repository2-2") +sites+=("repository2-3") + while read -r addon_site; do sites+=("${addon_site}") done <<< "$(perl -nle 'print $& if m{(?<=).*(?=)}' ${DL_PATH}/${ADDON_SITE_INDEX}.xml | sed s/.xml//g)"