From 74a629d688250791c0841292503d25b5a8e01d92 Mon Sep 17 00:00:00 2001 From: QL Date: Mon, 2 Aug 2021 14:14:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=8EUpdate.sh=202021-08-02=2014:14:12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/sh/Update.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Scripts/sh/Update.sh b/Scripts/sh/Update.sh index c5b91f9..de6df5c 100644 --- a/Scripts/sh/Update.sh +++ b/Scripts/sh/Update.sh @@ -11,18 +11,20 @@ code_raw_path=$dir_raw/code.sh code_config_path=$dir_config/code.sh task_before_raw_path=$dir_raw/task_before.sh task_before_config_path=$dir_config/task_before.sh -defaultNum=4 +CollectedRepo=4 +OtherRepo=14 repoNum=4 HelpType="HelpType=\"0\"" BreakHelpType="BreakHelpType=\"1\"" -BreakHelpNum="BreakHelpNum=\"11-47\"" +BreakHelpNum="BreakHelpNum=\"11-1000\"" curl -sL https://git.io/config.sh > $config_raw_path mv -b $config_raw_path $dir_config curl -sL https://git.io/extra.sh > $extra_raw_path mv -b $extra_raw_path $dir_config -sed -i "s/CollectedRepo=(4)/CollectedRepo=(${defaultNum})/g" $extra_config_path +sed -i "s/CollectedRepo=(4)/CollectedRepo=(${CollectedRepo})/g" $extra_config_path +sed -i "s/OtherRepo=()/OtherRepo=(${OtherRepo})/g" $extra_config_path curl -sL https://git.io/code.sh > $code_raw_path mv -b $code_raw_path $dir_config