Christian
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
6 deletions
-
lgsm/functions/core_dl.sh
-
linuxgsm.sh
|
|
@ -597,9 +597,3 @@ fn_dl_latest_release_github(){ |
|
|
|
fi |
|
|
|
fi |
|
|
|
} |
|
|
|
|
|
|
|
# Check that curl is installed |
|
|
|
if [ ! "$(command -v curl 2>/dev/null)" ]; then |
|
|
|
echo -e "[ FAIL ] Curl is not installed" |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
@ -51,6 +51,12 @@ githubuser="GameServerManagers" |
|
|
|
githubrepo="LinuxGSM" |
|
|
|
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_functions.sh(){ |
|
|
|
functionfile="${FUNCNAME[0]}" |
|
|
|