Browse Source

refactor: simplify install_config.sh

This commit simplifies the `install_config.sh` file by removing unnecessary code for the "vints" configuration. The configuration is now generated on first run, and the list of config locations is still provided.
pull/4304/head
Daniel Gibbs 2 years ago
parent
commit
5c19cbb042
  1. 5
      lgsm/modules/install_config.sh

5
lgsm/modules/install_config.sh

@ -787,10 +787,7 @@ elif [ "${shortname}" == "unt" ]; then
fn_set_config_vars
fn_list_config_locations
elif [ "${shortname}" == "vints" ]; then
array_configs+=(serverconfig.json)
fn_fetch_default_config
fn_default_config_remote
fn_set_config_vars
# Config is generated on first run
fn_list_config_locations
elif [ "${shortname}" == "vs" ]; then
array_configs+=(server.cfg)

Loading…
Cancel
Save