update
This commit is contained in:
parent
b3a738f531
commit
84f8f6a1cf
@ -14,6 +14,7 @@ git_shell_path=$dir_config/gitfix.sh
|
||||
|
||||
|
||||
|
||||
|
||||
# 控制是否执行变量
|
||||
read -p "是否执行全部操作,输入 1 即可执行全部,输入 0 则跳出,回车默认和其他可进行选择性操作,建议初次配置输入 1:" all
|
||||
if [ "${all}" = 1 ]; then
|
||||
|
||||
@ -117,9 +117,6 @@ set_default_extra() {
|
||||
CollectedRepo=${CollectedRepo:-"4"}
|
||||
sed -i "s/CollectedRepo=(4)/CollectedRepo=(${CollectedRepo})/g" $extra_shell_path
|
||||
sed -i "s/OtherRepo=()/OtherRepo=(${OtherRepo})/g" $extra_shell_path
|
||||
echo -e "Ninja\n###(1)默认启动并自动更新\n###(2)!!!未修改容器映射的请勿运行,否则会出现青龙打不开或者设备死机等不良后果,映射参考 https://github.com/MoonBegonia/ninja#%E5%AE%B9%E5%99%A8%E5%86%85"
|
||||
read -p "Ninja="on" ##up为更新,on为启动,down为不运行,请输入您的设置(默认运行) up/on/down:" Ninja
|
||||
sed -i "s/Ninja=\"on\"/Ninja=\"${Ninja}\"/" $extra_shell_path
|
||||
}
|
||||
# 将 ql extra 添加到定时任务
|
||||
add_ql_extra() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user