|
|
@ -61,13 +61,15 @@ currentopt=( "${cmd_start[@]}" "${cmd_stop[@]}" "${cmd_restart[@]}" "${cmd_monit |
|
|
|
currentopt+=( "${cmd_update_linuxgsm[@]}" ) |
|
|
|
|
|
|
|
# Exclude noupdate games here. |
|
|
|
if [ "${engine}" != "quake" ]&&[ "${engine}" != "idtech2" ]&&[ "${engine}" != "idtech3" ]&&[ "${engine}" != "iw2.0" ]&&[ "${engine}" != "iw3.0" ]&&[ "${shortname}" != "bf1942" ]&&[ "${shortname}" != "bfv" ]&&[ "${shortname}" != "samp" ]; then |
|
|
|
if [ "${shortname}" == "jk2" ]||[ "${engine}" != "idtech3" ];then |
|
|
|
if [ "${engine}" != "quake" ]&&[ "${engine}" != "idtech2" ]&&[ "${engine}" != "iw2.0" ]&&[ "${engine}" != "iw3.0" ]&&[ "${shortname}" != "bf1942" ]&&[ "${shortname}" != "bfv" ]&&[ "${shortname}" != "samp" ]; then |
|
|
|
currentopt+=( "${cmd_update[@]}" ) |
|
|
|
# force update for SteamCMD only or MTA. |
|
|
|
if [ "${appid}" ]||[ "${shortname}" == "mta" ]; then |
|
|
|
currentopt+=( "${cmd_force_update[@]}" ) |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
# Validate command. |
|
|
|
if [ "${appid}" ]; then |
|
|
|