From d1c8984b4c4b9dc32e11a5594e3d709c48ea5eb1 Mon Sep 17 00:00:00 2001 From: Leon <62660101+Oreomeow@users.noreply.github.com> Date: Tue, 20 Jul 2021 19:24:01 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=ADtest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/sh/1custom.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Scripts/sh/1custom.sh b/Scripts/sh/1custom.sh index 8e46d94..81bac50 100644 --- a/Scripts/sh/1custom.sh +++ b/Scripts/sh/1custom.sh @@ -64,8 +64,9 @@ if [ $Rextra = 'y' ]; then sed -i "s/\$default4/\$default$defaultNum/g" $extra_shell_path # 拷贝对应的 utils 文件夹 if [ $defaultNum -gt 1 -a $defaultNum -ne 5 ]; then - repo=(1 JDHelloWorld_jd_scripts he1pu_JDHelp shufflewzc_faker2 5 Aaron-lv_sync_jd_scripts) - cp -rf $dir_repo/${repo[defaultNum-1]}/utils /ql/scripts + repo=(1 JDHelloWorld/jd_scripts he1pu/JDHelp shufflewzc/faker2 5 Aaron-lv/sync_jd_scripts) + sudo apt-get install subversion + svn checkout https://github.com/${repo[default-1]}/trunk/utils $dir_script fi # 将 extra.sh 添加到定时任务 if [ "$(grep -c extra /ql/config/crontab.list)" = 0 ]; then