Преглед изворни кода

Corrected update_functions name

Daniel Gibbs пре 10 година
родитељ
комит
bc0fc9d1cc
3 измењених фајлова са 5 додато и 5 уклоњено
  1. 2 2
      functions/check.sh
  2. 2 2
      functions/core_functions.sh
  3. 1 1
      functions/fn_update_functions

+ 2 - 2
functions/check.sh

@@ -21,11 +21,11 @@ array_contains () {
 
 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
 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[@]}"
 do
 	if [ "${allowed_command}" == "${function_selfname}" ]; then

+ 2 - 2
functions/core_functions.sh

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

+ 1 - 1
functions/fn_update_functions

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