fix bug
This commit is contained in:
parent
7ddf0842bd
commit
737378d7ee
@ -52,6 +52,7 @@ create_config(){
|
||||
# 检查jq是否安装
|
||||
check_jq
|
||||
|
||||
local config_file="$script_dir/../conf/config.json" # 配置文件绝对路径
|
||||
# 如果配置文件已存在, 询问是否重新生成
|
||||
if [ -e "$config_file" ]; then
|
||||
local regenerate
|
||||
|
||||
Loading…
Reference in New Issue
Block a user