فهرست منبع

updated core_install.sh

Daniel Gibbs 10 سال پیش
والد
کامیت
a063b44313
3فایلهای تغییر یافته به همراه10 افزوده شده و 10 حذف شده
  1. 3 3
      functions/core_functions.sh
  2. 6 6
      functions/core_getopt.sh
  3. 1 1
      functions/install_retry.sh

+ 3 - 3
functions/core_functions.sh

@@ -1,5 +1,5 @@
 #!/bin/bash
-# LGSM fn_functions function
+# LGSM core_functions.sh function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
 lgsm_version="261215"
@@ -206,10 +206,10 @@ fn_runfunction
 
 fn_autoinstall(){
 autoinstall=1
-fn_install
+command_install.sh(
 }
 
-fn_install(){
+command_install.sh(){
 functionfile="${FUNCNAME}"
 fn_runfunction
 }

+ 6 - 6
functions/core_getopt.sh

@@ -38,7 +38,7 @@ case "$getopt" in
 	dev|dev-debug)
 		dev_debug.sh;;
 	i|install)
-		fn_install;;
+		command_install.sh;;
 	ai|auto-install)
 		fn_autoinstall;;
 	dd|depsdetect)
@@ -93,7 +93,7 @@ case "$getopt" in
 	dev|dev-debug)
 		dev_debug.sh;;		
 	i|install)
-		fn_install;;
+		command_install.sh;;
 	ai|auto-install)
 		fn_autoinstall;;
 	dd|depsdetect)
@@ -198,7 +198,7 @@ case "$getopt" in
 	dev|dev-debug)
 		dev_debug.sh;;		
 	i|install)
-		fn_install;;
+		command_install.sh;;
 	ai|auto-install)
 		fn_autoinstall;;
 	dd|depsdetect)
@@ -258,7 +258,7 @@ case "$getopt" in
 	dev|dev-debug)
 		dev_debug.sh;;		
 	i|install)
-		fn_install;;
+		command_install.sh;;
 	mc|map-compressor)
 		compress_ut99_maps.sh;;
 	dd|depsdetect)
@@ -320,7 +320,7 @@ case "$getopt" in
 	dev|dev-debug)
 		dev_debug.sh;;		
 	i|install)
-		fn_install;;
+		command_install.sh;;
 	ai|auto-install)
 		fn_autoinstall;;
 	dd|depsdetect)
@@ -381,7 +381,7 @@ case "$getopt" in
 	dev|dev-debug)
 		dev_debug.sh;;		
 	i|install)
-		fn_install;;
+		command_install.sh;;
 	mc|map-compressor)
 		compress_ut99_maps.sh;;
 	dd|depsdetect)

+ 1 - 1
functions/install_retry.sh

@@ -7,7 +7,7 @@ lgsm_version="061115"
 while true; do
 	read -e -i "y" -p "Retry install? [Y/n]" yn
 	case $yn in
-	[Yy]* ) fn_install; exit;;
+	[Yy]* ) command_install.sh; exit;;
 	[Nn]* ) echo Exiting; exit;;
 	* ) echo "Please answer yes or no.";;
 	esac