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