Browse Source

add config checks to post install

pull/3997/head
crawforc3 3 years ago
parent
commit
26e0c2e1bb
  1. 4
      lgsm/functions/fix_nec.sh
  2. 2
      lgsm/functions/info_messages.sh
  3. 4
      lgsm/functions/install_config.sh

4
lgsm/functions/fix_nec.sh

@ -19,4 +19,8 @@ if [ "${postinstall}" == "1" ]; then
fn_firstcommand_reset
fi
fn_default_config_local
fn_set_config_vars
fn_list_config_locations

2
lgsm/functions/info_messages.sh

@ -658,7 +658,7 @@ fn_info_message_ports_edit() {
startparameterslocation="${red}UNKNOWN${default}"
# engines/games that require editing in the config file.
local ports_edit_array=("ac" "arma3" "armar" "bo" "bt" "cd" "dst" "eco" "idtech2" "idtech3" "idtech3_ql" "jc2" "jc3" "lwjgl2" "mcb" "mumble" "pc" "pc2" "pz" "qw" "refractor" "renderware" "rw" "sb" "sdtd" "st" "stn" "ts3" "tw" "terraria" "unreal" "unreal2" "unreal3" "vints" "wurm")
local ports_edit_array=("ac" "arma3" "armar" "bo" "bt" "cd" "dst" "eco" "idtech2" "idtech3" "idtech3_ql" "jc2" "jc3" "lwjgl2" "mcb" "mumble" "nec" "pc" "pc2" "pz" "qw" "refractor" "renderware" "rw" "sb" "sdtd" "st" "stn" "ts3" "tw" "terraria" "unreal" "unreal2" "unreal3" "vints" "wurm")
for port_edit in "${ports_edit_array[@]}"; do
if [ "${shortname}" == "ut3" ]; then
startparameterslocation="${servercfgdir}/UTWeb.ini"

4
lgsm/functions/install_config.sh

@ -637,10 +637,6 @@ elif [ "${shortname}" == "pz" ]; then
elif [ "${shortname}" == "nec" ]; then
gamedirname="Necesse"
fn_check_cfgdir
fn_default_config_local
fn_set_config_vars
fn_list_config_locations
elif [ "${shortname}" == "pc" ]; then
gamedirname="ProjectCars"
array_configs+=(server.cfg)

Loading…
Cancel
Save