Browse Source

Fixed function names for force-update

pull/1077/head
Marvin Lehmann 9 years ago
parent
commit
4cad03af1f
  1. 2
      lgsm/functions/check.sh
  2. 4
      lgsm/functions/core_getopt.sh

2
lgsm/functions/check.sh

@ -25,7 +25,7 @@ do
fi fi
done 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[@]}" for allowed_command in "${allowed_commands_array[@]}"
do do
if [ "${allowed_command}" == "${function_selfname}" ]; then if [ "${allowed_command}" == "${function_selfname}" ]; then

4
lgsm/functions/core_getopt.sh

@ -269,7 +269,7 @@ case "${getopt}" in
command_update.sh;; command_update.sh;;
fu|force-update|update-restart) fu|force-update|update-restart)
forceupdate=1; forceupdate=1;
update_check.sh;; command_update.sh;;
uf|update-functions) uf|update-functions)
command_update_functions.sh;; command_update_functions.sh;;
v|validate) v|validate)
@ -408,7 +408,7 @@ case "${getopt}" in
command_update.sh;; command_update.sh;;
fu|force-update|update-restart) fu|force-update|update-restart)
forceupdate=1; forceupdate=1;
update_check.sh;; command_update.sh;;
uf|update-functions) uf|update-functions)
command_update_functions.sh;; command_update_functions.sh;;
v|validate) v|validate)

Loading…
Cancel
Save