Browse Source

Corrected update_functions name

pull/743/head
Daniel Gibbs 9 years ago
parent
commit
bc0fc9d1cc
  1. 4
      functions/check.sh
  2. 4
      functions/core_functions.sh
  3. 2
      functions/fn_update_functions

4
functions/check.sh

@ -21,11 +21,11 @@ array_contains () {
check_root.sh check_root.sh
if [ "${function_selfname}" != "command_install.sh" ] && [ "${function_selfname}" != "update_functions.sh" ]; then if [ "${function_selfname}" != "command_install.sh" ] && [ "${function_selfname}" != "command_update_functions.sh" ]; then
check_system_dir.sh check_system_dir.sh
fi fi
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 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 update_check.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
functions/core_functions.sh

@ -288,7 +288,7 @@ functionfile="${FUNCNAME}"
fn_fetch_function fn_fetch_function
} }
update_functions.sh(){ command_update_functions.sh(){
functionfile="${FUNCNAME}" functionfile="${FUNCNAME}"
fn_fetch_function fn_fetch_function
} }
@ -298,7 +298,7 @@ functionfile="${FUNCNAME}"
fn_fetch_function fn_fetch_function
} }
update_functions.sh(){ fn_update_functions.sh(){
functionfile="${FUNCNAME}" functionfile="${FUNCNAME}"
fn_fetch_function fn_fetch_function
} }

2
functions/fn_update_functions

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# LGSM update_functions.sh function # LGSM command_update_functions.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://gameservermanagers.com # Website: http://gameservermanagers.com
lgsm_version="230116" lgsm_version="230116"

Loading…
Cancel
Save