Explorar el Código

Fixed function names for force-update

Marvin Lehmann hace 9 años
padre
commit
4cad03af1f
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      lgsm/functions/check.sh
  2. 2 2
      lgsm/functions/core_getopt.sh

+ 1 - 1
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

+ 2 - 2
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)