Procházet zdrojové kódy

renamed RenderWare to renderware

Daniel Gibbs před 9 roky
rodič
revize
64a7610505

+ 2 - 4
lgsm/functions/check_deps.sh

@@ -6,8 +6,6 @@
 
 
 local commandname="CHECK"
 local commandname="CHECK"
 
 
-
-
 fn_deps_detector(){
 fn_deps_detector(){
 	# Checks if dependency is missing
 	# Checks if dependency is missing
 	if [ "${tmuxcheck}" == "1" ]; then
 	if [ "${tmuxcheck}" == "1" ]; then
@@ -159,7 +157,7 @@ if [ -n "$(command -v dpkg-query)" ]; then
 	fi
 	fi
 
 
 	# All servers except ts3,mumble,multitheftauto and minecraft servers require libstdc++6 and lib32gcc1
 	# All servers except ts3,mumble,multitheftauto and minecraft servers require libstdc++6 and lib32gcc1
-	if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${engine}" != "lwjgl2" ]&&[ "${engine}" != "RenderWare" ]; then
+	if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${engine}" != "lwjgl2" ]&&[ "${engine}" != "renderware" ]; then
 		if [ "${arch}" == "x86_64" ]; then
 		if [ "${arch}" == "x86_64" ]; then
 			array_deps_required+=( lib32gcc1 libstdc++6:i386 )
 			array_deps_required+=( lib32gcc1 libstdc++6:i386 )
 		else
 		else
@@ -242,7 +240,7 @@ elif [ -n "$(command -v yum)" ]; then
 	fi
 	fi
 
 
 	# All servers except ts3,mumble,multitheftauto and minecraft servers require glibc.i686 and libstdc++.i686
 	# All servers except ts3,mumble,multitheftauto and minecraft servers require glibc.i686 and libstdc++.i686
-	if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${engine}" != "lwjgl2" ]&&[ "${engine}" != "RenderWare" ]; then
+	if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${engine}" != "lwjgl2" ]&&[ "${engine}" != "renderware" ]; then
 		array_deps_required+=( glibc.i686 libstdc++.i686 )
 		array_deps_required+=( glibc.i686 libstdc++.i686 )
 	fi
 	fi
 
 

+ 2 - 2
lgsm/functions/command_details.sh

@@ -315,7 +315,7 @@ fn_details_ports(){
 
 
 	parmslocation="${red}UNKNOWN${default}"
 	parmslocation="${red}UNKNOWN${default}"
 	# engines/games that require editing in the config file
 	# engines/games that require editing in the config file
-	local ports_edit_array=( "avalanche" "dontstarve" "idtech2" "idtech3" "idtech3_ql" "lwjgl2" "projectzomboid" "quake" "refractor" "realvirtuality" "RenderWare" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "unreal3" "TeamSpeak 3" "Mumble" "7 Days To Die" )
+	local ports_edit_array=( "avalanche" "dontstarve" "idtech2" "idtech3" "idtech3_ql" "lwjgl2" "projectzomboid" "quake" "refractor" "realvirtuality" "renderware" "seriousengine35" "teeworlds" "terraria" "unreal" "unreal2" "unreal3" "TeamSpeak 3" "Mumble" "7 Days To Die" )
 	for port_edit in "${ports_edit_array[@]}"
 	for port_edit in "${ports_edit_array[@]}"
 	do
 	do
 		if [ "${engine}" == "${port_edit}" ]||[ "${gamename}" == "${port_edit}" ]; then
 		if [ "${engine}" == "${port_edit}" ]||[ "${gamename}" == "${port_edit}" ]; then
@@ -759,7 +759,7 @@ fn_display_details() {
 	fn_details_script
 	fn_details_script
 	fn_details_backup
 	fn_details_backup
 	# Some game servers do not have parms.
 	# Some game servers do not have parms.
-	if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${engine}" != "avalanche" ]&&[ "${engine}" != "dontstarve" ]&&[ "${engine}" != "projectzomboid" ]&&[ "${engine}" != "RenderWare" ]; then
+	if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${engine}" != "avalanche" ]&&[ "${engine}" != "dontstarve" ]&&[ "${engine}" != "projectzomboid" ]&&[ "${engine}" != "renderware" ]; then
 		fn_parms
 		fn_parms
 		fn_details_commandlineparms
 		fn_details_commandlineparms
 	fi
 	fi

+ 1 - 1
lgsm/functions/command_stop.sh

@@ -229,7 +229,7 @@ fn_stop_graceful_select(){
 		fn_stop_graceful_goldsource
 		fn_stop_graceful_goldsource
 	elif [ "${engine}" == "lwjgl2" ]; then
 	elif [ "${engine}" == "lwjgl2" ]; then
 		fn_stop_graceful_minecraft
 		fn_stop_graceful_minecraft
-	elif [ "${engine}" == "RenderWare" ]; then
+	elif [ "${engine}" == "renderware" ]; then
 		fn_stop_graceful_mta
 		fn_stop_graceful_mta
 	else
 	else
 		fn_stop_tmux
 		fn_stop_tmux