|
@ -47,9 +47,9 @@ userinput2="${2}" |
|
|
## GitHub Branch Select |
|
|
## GitHub Branch Select |
|
|
# Allows for the use of different function files |
|
|
# Allows for the use of different function files |
|
|
# from a different repo and/or branch. |
|
|
# 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_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 |
|
|
# Check that curl is installed before doing anything |
|
|
if [ ! "$(command -v curl 2> /dev/null)" ]; then |
|
|
if [ ! "$(command -v curl 2> /dev/null)" ]; then |
|
|