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

View File

@ -58,7 +58,7 @@ if [ $Rextra = 'y' ]; then
# 授权
chmod 755 $extra_shell_path
# extra.sh 预设仓库及默认拉取仓库设置
echo -e "1panghu999\n2JDHelloWorld\n3he1pu\n4shufflewzc\n (6) Aaron-lv"
echo -e "1panghu999\n2JDHelloWorld\n3he1pu\n4shufflewzc\n6Aaron-lv"
read -p "输入你想拉取的仓库编号(默认为 4):" defaultNum
defaultNum=${defaultNum:-'4'}
sed -i "s/\$default4/\$default$defaultNum/g" $extra_shell_path