Jelajahi Sumber

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

Daniel Gibbs 3 tahun lalu
induk
melakukan
818015d189
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  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