|
|
@ -2,7 +2,7 @@ |
|
|
|
# LGSM install_server_files.sh function |
|
|
|
# Author: Daniel Gibbs |
|
|
|
# Website: https://gameservermanagers.com |
|
|
|
lgsm_version="210516" |
|
|
|
lgsm_version="270516" |
|
|
|
|
|
|
|
local modulename="Install" |
|
|
|
|
|
|
@ -11,6 +11,8 @@ fn_install_server_files(){ |
|
|
|
fileurl="https://gameservermanagers.com/files/UnrealTournament99/ut99-server-451-ultimate-linux.tar.bz2"; filedir="${lgsmdir}/tmp"; filename="ut99-server-451-ultimate-linux.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="49cb24d0550ff6ddeaba6007045c6edd" |
|
|
|
elif [ "${gamename}" == "Unreal Tournament 2004" ]; then |
|
|
|
fileurl="https://gameservermanagers.com/files/UnrealTournament2004/ut2004-server-3339-ultimate-linux.tar.bz2"; filedir="${lgsmdir}/tmp"; filename="ut2004-server-3339-ultimate-linux.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="67c5e2cd9c2a4b04f163962ee41eff54" |
|
|
|
elif [ "${gamename}" == "GoldenEye: Source" ]; then |
|
|
|
fileurl="https://gameservermanagers.com/files/GoldenEyeSource/goldenEye_source_v4.2.4_server_2015_map_pack.tar.bz2"; filedir="${lgsmdir}/tmp"; filename="goldenEye_source_v4.2.4_server_2015_map_pack.tar.bz2"; executecmd="noexecute" run="norun"; force="noforce"; md5="3148ac38acc3642b0d6d64f51f27de15" |
|
|
|
fi |
|
|
|
fn_fetch_file "${fileurl}" "${filedir}" "${filename}" "${executecmd}" "${run}" "${force}" "${md5}" |
|
|
|
fn_dl_extract "${filedir}" "${filename}" "${filesdir}" |
|
|
@ -45,6 +47,8 @@ fn_install_server_files_steamcmd(){ |
|
|
|
# Detects if unbuffer command is available. |
|
|
|
if [ $(command -v unbuffer) ]; then |
|
|
|
unbuffer=unbuffer |
|
|
|
elif [ $(command -v stdbuf) ]; then |
|
|
|
unbuffer="stdbuf -i0 -o0 -e0" |
|
|
|
fi |
|
|
|
|
|
|
|
if [ "${counter}" -le "4" ]; then |
|
|
|