This commit is contained in:
Leon 2021-07-20 20:22:41 +08:00 committed by GitHub
parent d45ea7e480
commit 01bb3ad057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,12 +62,6 @@ if [ $Rextra = 'y' ]; then
read -p "输入你想拉取的仓库编号(默认为 4):" defaultNum
defaultNum=${defaultNum:-'4'}
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)
sudo apt-get install subversion
svn checkout https://github.com/${repo[defaultNum-1]}/trunk/utils $dir_script
fi
# 将 extra.sh 添加到定时任务
if [ "$(grep -c extra /ql/config/crontab.list)" = 0 ]; then
echo "开始添加 task ql extra"