From 4cad03af1fdc0bd7b863285f84220f48cbacf25f Mon Sep 17 00:00:00 2001 From: Marvin Lehmann Date: Sat, 17 Sep 2016 21:04:25 +0200 Subject: [PATCH] Fixed function names for force-update --- lgsm/functions/check.sh | 2 +- lgsm/functions/core_getopt.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lgsm/functions/check.sh b/lgsm/functions/check.sh index 58a3041d7..751652c2f 100644 --- a/lgsm/functions/check.sh +++ b/lgsm/functions/check.sh @@ -25,7 +25,7 @@ do fi done -local allowed_commands_array=( command_backup.sh command_console.sh command_debug.sh command_details.sh command_unreal2_maps.sh command_ut99_maps.sh command_monitor.sh command_start.sh command_stop.sh update_check.sh command_validate.sh command_update_functions.sh command_email_test.sh ) +local allowed_commands_array=( command_backup.sh command_console.sh command_debug.sh command_details.sh command_unreal2_maps.sh command_ut99_maps.sh command_monitor.sh command_start.sh command_stop.sh command_update.sh command_validate.sh command_update_functions.sh command_email_test.sh ) for allowed_command in "${allowed_commands_array[@]}" do if [ "${allowed_command}" == "${function_selfname}" ]; then diff --git a/lgsm/functions/core_getopt.sh b/lgsm/functions/core_getopt.sh index c42e64746..3b9140385 100644 --- a/lgsm/functions/core_getopt.sh +++ b/lgsm/functions/core_getopt.sh @@ -269,7 +269,7 @@ case "${getopt}" in command_update.sh;; fu|force-update|update-restart) forceupdate=1; - update_check.sh;; + command_update.sh;; uf|update-functions) command_update_functions.sh;; v|validate) @@ -408,7 +408,7 @@ case "${getopt}" in command_update.sh;; fu|force-update|update-restart) forceupdate=1; - update_check.sh;; + command_update.sh;; uf|update-functions) command_update_functions.sh;; v|validate)