Browse Source
feat(etl): add update commands to core_getopt
Ensures that the update and check-update commands are available for ET: Legacy by including the etl shortname in the getopt command registration logic.
pull/4896/head
Daniel Gibbs
2 months ago
Failed to extract signature
1 changed files with
1 additions and
1 deletions
lgsm/modules/core_getopt.sh
@ -66,7 +66,7 @@ currentopt=("${cmd_start[@]}" "${cmd_stop[@]}" "${cmd_restart[@]}" "${cmd_monito
currentopt += ( " ${ cmd_update_linuxgsm [@] } " )
# Exclude noupdate games here.
if [ " ${ shortname } " = = "jk2" ] || [ " ${ engine } " != "idtech3" ] ; then
if [ " ${ shortname } " = = "jk2" ] || [ " ${ shortname } " = = "etl" ] || [ " ${ engine } " != "idtech3" ] ; then
if [ " ${ shortname } " != "bf1942" ] && [ " ${ shortname } " != "bfv" ] && [ " ${ engine } " != "idtech2" ] && [ " ${ engine } " != "iw2.0" ] && [ " ${ engine } " != "iw3.0" ] && [ " ${ engine } " != "quake" ] && [ " ${ shortname } " != "samp" ] && [ " ${ shortname } " != "ut2k4" ] ; then
currentopt += ( " ${ cmd_update [@] } " " ${ cmd_check_update [@] } " )
# force update for SteamCMD or Multi Theft Auto only.