Explorar el Código

Updated functions function

Daniel Gibbs hace 10 años
padre
commit
e90e6bf9d2
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      functions/update_functions.sh

+ 2 - 2
functions/update_functions.sh

@@ -2,7 +2,7 @@
 # LGSM update_functions.sh function
 # LGSM update_functions.sh function
 # Author: Daniel Gibbs
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 # Website: http://gameservermanagers.com
-lgsm_version="230116"
+lgsm_version="270216"
 
 
 # Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
 # Description: Deletes the functions dir to allow re-downloading of functions from GitHub.
 
 
@@ -12,7 +12,7 @@ fn_printdots "Updating functions"
 fn_scriptlog "Updating functions"
 fn_scriptlog "Updating functions"
 sleep 1
 sleep 1
 echo -ne "\n"
 echo -ne "\n"
-rm -rfv "${rootdir}/functions/"*
+rm -rfv "${functionsdir}/"*
 exitcode=$?
 exitcode=$?
 if [ "${exitcode}" == "0" ]; then
 if [ "${exitcode}" == "0" ]; then
 	fn_printok "Updating functions"
 	fn_printok "Updating functions"