Просмотр исходного кода

Fixed: Update restart

Fixed bug causing updater not to function as intended
Daniel Gibbs 11 лет назад
Родитель
Сommit
5caf0a0937
1 измененных файлов с 3 добавлено и 4 удалено
  1. 3 4
      7DaysToDie/sdtdserver

+ 3 - 4
7DaysToDie/sdtdserver

@@ -3,7 +3,7 @@
 # Server Management Script
 # Author: Daniel Gibbs
 # Website: http://danielgibbs.co.uk
-# Version: 241214
+# Version: 010115
 
 #### Variables ####
 
@@ -119,8 +119,7 @@ case "$1" in
 	restart)
 		fn_restartserver;;
 	update)
-		fn_update;;
-	auto-update)
+		norestart=1;
 		fn_versioncheck;;
 	update-restart)
 		fn_versioncheck;;
@@ -147,7 +146,7 @@ case "$1" in
 	auto-install)
 		fn_autoinstall;;
 	*)
-	echo "Usage: $0 {start|stop|restart|update|auto-update|validate|validate-restart|monitor|email-test|details|backup|console|debug|install|auto-install}"
+	echo "Usage: $0 {start|stop|restart|update|update-restart|validate|validate-restart|monitor|email-test|details|backup|console|debug|install|auto-install}"
 	exit 1;;
 esac
 exit