We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad8fc3a commit fc97f5bCopy full SHA for fc97f5b
linuxgsm.sh
@@ -47,9 +47,9 @@ userinput2="${2}"
47
## GitHub Branch Select
48
# Allows for the use of different function files
49
# from a different repo and/or branch.
50
-githubuser="GameServerManagers"
51
-githubrepo="LinuxGSM"
52
-githubbranch="master"
+[ -n "${LGSM_GITHUBUSER}" ] && githubuser="${LGSM_GITHUBUSER}" || githubuser="GameServerManagers"
+[ -n "${LGSM_GITHUBREPO}" ] && githubrepo="${LGSM_GITHUBREPO}" || githubrepo="LinuxGSM"
+[ -n "${LGSM_GITHUBBRANCH}" ] && githubbranch="${LGSM_GITHUBBRANCH}" || githubbranch="master"
53
54
# Core function that is required first.
55
core_functions.sh(){
0 commit comments