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 1a022ca commit f60c65aCopy full SHA for f60c65a
lgsm/functions/core_dl.sh
@@ -597,9 +597,3 @@ fn_dl_latest_release_github(){
597
fi
598
599
}
600
-
601
-# Check that curl is installed
602
-if [ ! "$(command -v curl 2>/dev/null)" ]; then
603
- echo -e "[ FAIL ] Curl is not installed"
604
- exit 1
605
-fi
linuxgsm.sh
@@ -51,6 +51,12 @@ githubuser="GameServerManagers"
51
githubrepo="LinuxGSM"
52
githubbranch="master"
53
54
+# Check that curl is installed before doing anything
55
+if [ ! "$(command -v curl 2>/dev/null)" ]; then
56
+ echo -e "[ FAIL ] Curl is not installed"
57
+ exit 1
58
+fi
59
+
60
# Core function that is required first.
61
core_functions.sh(){
62
functionfile="${FUNCNAME[0]}"
0 commit comments