|
|
@ -49,7 +49,7 @@ fn_install_server_files_steamcmd(){ |
|
|
|
|
|
|
|
if [ "${counter}" -le "4" ]; then |
|
|
|
if [ "${engine}" == "goldsource" ]; then |
|
|
|
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_set_config 90 mod "${appidmod}" +app_update "${appid}" +quit |
|
|
|
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} +quit |
|
|
|
local exitcode=$? |
|
|
|
else |
|
|
|
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" +quit |
|
|
@ -57,7 +57,7 @@ fn_install_server_files_steamcmd(){ |
|
|
|
fi |
|
|
|
elif [ "${counter}" -ge "5" ]; then |
|
|
|
if [ "${engine}" == "goldsource" ]; then |
|
|
|
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_set_config 90 mod "${appidmod}" +app_update "${appid}" -validate +quit |
|
|
|
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_set_config 90 mod "${appidmod}" +app_update "${appid}" ${branch} -validate +quit |
|
|
|
local exitcode=$? |
|
|
|
else |
|
|
|
${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" -validate +quit |
|
|
|