fix: ensure config.json is generated if it does not exist when saving a new configuration
Main / build (push) Waiting to run
Main / build (push) Waiting to run
This commit is contained in:
+1
-1
@@ -356,7 +356,7 @@ create() {
|
|||||||
[[ $is_config_file ]] && is_no_del_msg=1 && del $is_config_file
|
[[ $is_config_file ]] && is_no_del_msg=1 && del $is_config_file
|
||||||
# save json to file
|
# save json to file
|
||||||
cat <<<$is_new_json >$is_json_file
|
cat <<<$is_new_json >$is_json_file
|
||||||
if [[ $is_new_install ]]; then
|
if [[ ! -f $is_config_json ]]; then
|
||||||
# config.json
|
# config.json
|
||||||
create config.json
|
create config.json
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user