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 01e6b09 commit 6cf4c1eCopy full SHA for 6cf4c1e
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="AlasdairHaig"
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
# Check that curl is installed before doing anything
55
if [ ! "$(command -v curl 2>/dev/null)" ]; then
0 commit comments