Skip to content

Commit 716e948

Browse files
committed
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.
1 parent 4d79784 commit 716e948

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lgsm/modules/core_getopt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ currentopt=("${cmd_start[@]}" "${cmd_stop[@]}" "${cmd_restart[@]}" "${cmd_monito
6666
currentopt+=("${cmd_update_linuxgsm[@]}")
6767

6868
# Exclude noupdate games here.
69-
if [ "${shortname}" == "jk2" ] || [ "${engine}" != "idtech3" ]; then
69+
if [ "${shortname}" == "jk2" ] || [ "${shortname}" == "etl" ] || [ "${engine}" != "idtech3" ]; then
7070
if [ "${shortname}" != "bf1942" ] && [ "${shortname}" != "bfv" ] && [ "${engine}" != "idtech2" ] && [ "${engine}" != "iw2.0" ] && [ "${engine}" != "iw3.0" ] && [ "${engine}" != "quake" ] && [ "${shortname}" != "samp" ] && [ "${shortname}" != "ut2k4" ]; then
7171
currentopt+=("${cmd_update[@]}" "${cmd_check_update[@]}")
7272
# force update for SteamCMD or Multi Theft Auto only.

0 commit comments

Comments
 (0)