|
@@ -51,6 +51,12 @@ githubuser="GameServerManagers"
|
|
|
githubrepo="LinuxGSM"
|
|
githubrepo="LinuxGSM"
|
|
|
githubbranch="master"
|
|
githubbranch="master"
|
|
|
|
|
|
|
|
|
|
+# Check that curl is installed before doing anything
|
|
|
|
|
+if [ ! "$(command -v curl 2>/dev/null)" ]; then
|
|
|
|
|
+ echo -e "[ FAIL ] Curl is not installed"
|
|
|
|
|
+ exit 1
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
# Core function that is required first.
|
|
# Core function that is required first.
|
|
|
core_functions.sh(){
|
|
core_functions.sh(){
|
|
|
functionfile="${FUNCNAME[0]}"
|
|
functionfile="${FUNCNAME[0]}"
|