Daniel Gibbs 10 лет назад
Родитель
Сommit
d94b529329

+ 1 - 3
functions/command_update_functions.sh

@@ -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="270216"
@@ -13,8 +13,6 @@ fn_scriptlog "Updating functions"
 sleep 1
 echo -ne "\n"
 
-
-
 # Removed legecy functions dir
 if [ -n "${rootdir}" ]; then
 	if [ -d "${rootdir}/functions/" ]; then

+ 1 - 1
functions/core_functions.sh

@@ -4,7 +4,7 @@
 # Website: http://gameservermanagers.com
 lgsm_version="180316"
 
-# Description: Redirect to new location for core_functions.sh
+# Description: REDIRECT FUNCTION to new location for core_functions.sh
 
 # fn_fetch_core_dl also placed here to allow legecy servers to still download core functions
 if [ -z "${lgsmdir}" ]; then

+ 2 - 2
functions/core_getopt.sh

@@ -1,10 +1,10 @@
 #!/bin/bash
-# LGSM core_getopt function
+# LGSM core_getopt.sh function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 lgsm_version="180316"
 
-# Description: Redirect to new location for core_getopt.sh
+# Description: REDIRECT FUNCTION to new location for core_getopt.sh
 
 core_getopt.sh(){
 functionfile="${FUNCNAME}"

+ 2 - 2
functions/fn_functions

@@ -1,10 +1,10 @@
 #!/bin/bash
-# LGSM fn_functions.sh function
+# LGSM fn_functions function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 lgsm_version="180316"
 
-# Description: Redirect to new core_functions.sh
+# Description: REDIRECT FUNCTION to new core_functions.sh
 
 core_functions.sh(){
 # Functions are defined in core_functions.sh.

+ 2 - 2
functions/fn_getopt

@@ -1,10 +1,10 @@
 #!/bin/bash
-# LGSM fn_getopt function
+# LGSM fn_getopt.sh function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 lgsm_version="180316"
 
-# Description: Redirect to new core_getopt.sh
+# Description: REDIRECT FUNCTION to new core_getopt.sh
 
 core_getopt.sh(){
 functionfile="${FUNCNAME}"

+ 2 - 25
functions/fn_update_functions

@@ -1,38 +1,15 @@
 #!/bin/bash
-# LGSM core_functions.sh function
+# LGSM fn_update_functions function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 lgsm_version="271215"
 
-# Description: Redirect to new core_functions.sh
-
-core_functions.sh(){
-# Functions are defined in core_functions.sh.
-functionfile="${FUNCNAME}"
-fn_runfunction
-}
-
-core_dl.sh(){
-# Functions are defined in core_functions.sh.
-functionfile="${FUNCNAME}"
-fn_runfunction
-}
-
-core_getopt.sh(){
-functionfile="${FUNCNAME}"
-fn_runfunction
-}
-
-core_messages.sh(){
-functionfile="${FUNCNAME}"
-fn_runfunction
-}
+# Description: REDIRECT FUNCTION to new command_update_functions.sh
 
 command_update_functions.sh(){
 functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-core_functions.sh
 command_update_functions.sh
 

+ 1 - 3
lgsm/functions/command_update_functions.sh

@@ -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="270216"
@@ -13,8 +13,6 @@ fn_scriptlog "Updating functions"
 sleep 1
 echo -ne "\n"
 
-
-
 # Removed legecy functions dir
 if [ -n "${rootdir}" ]; then
 	if [ -d "${rootdir}/functions/" ]; then