Browse Source

Remove config checks

pull/3995/head
crawforc3 3 years ago
parent
commit
32adfeca47
  1. 2
      lgsm/functions/install_config.sh
  2. 4
      linuxgsm.sh

2
lgsm/functions/install_config.sh

@ -636,8 +636,6 @@ elif [ "${shortname}" == "pz" ]; then
fn_list_config_locations
elif [ "${shortname}" == "nec" ]; then
gamedirname="Necesse"
fn_check_cfgdir
fn_set_config_vars
fn_list_config_locations
elif [ "${shortname}" == "pc" ]; then
gamedirname="ProjectCars"

4
linuxgsm.sh

@ -47,9 +47,9 @@ userinput2="${2}"
## GitHub Branch Select
# Allows for the use of different function files
# from a different repo and/or branch.
[ -n "${LGSM_GITHUBUSER}" ] && githubuser="${LGSM_GITHUBUSER}" || githubuser="GameServerManagers"
[ -n "${LGSM_GITHUBUSER}" ] && githubuser="${LGSM_GITHUBUSER}" || githubuser="crawford"
[ -n "${LGSM_GITHUBREPO}" ] && githubrepo="${LGSM_GITHUBREPO}" || githubrepo="LinuxGSM"
[ -n "${LGSM_GITHUBBRANCH}" ] && githubbranch="${LGSM_GITHUBBRANCH}" || githubbranch="master"
[ -n "${LGSM_GITHUBBRANCH}" ] && githubbranch="${LGSM_GITHUBBRANCH}" || githubbranch="develop"
# Check that curl is installed before doing anything
if [ ! "$(command -v curl 2> /dev/null)" ]; then

Loading…
Cancel
Save