Explorar o código

fix(check-update): not getting steamcmd executable for check-update (#4180)

Daniel Gibbs %!s(int64=3) %!d(string=hai) anos
pai
achega
818015d189
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      lgsm/functions/check.sh
  2. 1 1
      lgsm/functions/command_check_update.sh

+ 1 - 1
lgsm/functions/check.sh

@@ -77,7 +77,7 @@ for allowed_command in "${allowed_commands_array[@]}"; do
 	fi
 done
 
-allowed_commands_array=(DEBUG START UPDATE VALIDATE)
+allowed_commands_array=(DEBUG START UPDATE VALIDATE CHECK-UPDATE)
 for allowed_command in "${allowed_commands_array[@]}"; do
 	if [ "${allowed_command}" == "${commandname}" ]; then
 		if [ "${appid}" ]; then

+ 1 - 1
lgsm/functions/command_check_update.sh

@@ -6,7 +6,7 @@
 # Description: Handles updating of servers.
 
 commandname="CHECK-UPDATE"
-commandaction="check for Update"
+commandaction="Check for Update"
 functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 fn_firstcommand_set