Преглед изворни кода

Misspelt Garry's Mod

misspelt Garry's mod
Daniel Gibbs пре 11 година
родитељ
комит
977cbbe62c

+ 2 - 2
GarrysMod/gmodserver

@@ -1,5 +1,5 @@
 #!/bin/bash
-# Garrys's Mod
+# Garry's Mod
 # Server Management Script
 # Author: Daniel Gibbs
 # Website: http://danielgibbs.co.uk
@@ -41,7 +41,7 @@ appid="4020"
 
 # Server Details
 servicename="gmod-server"
-gamename="Garrys's Mod"
+gamename="Garry's Mod"
 engine="source"
 
 # Directories

+ 1 - 1
functions/fn_install_config

@@ -179,7 +179,7 @@ elif [ "${gamename}" == "Fistful of Frags" ]; then
 	wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/FistfulOfFrags/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
 	sleep 1
 	fn_sourceconfig
-elif [ "${gamename}" == "Garrys's Mod" ]; then
+elif [ "${gamename}" == "Garry's Mod" ]; then
 	echo -e "downloading lgsm-default.cfg...\c"
 	wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/GarrysMod/cfg/lgsm-default.cfg 2>&1 | grep -F HTTP | cut -c45- | uniq
 	sleep 1

+ 2 - 2
functions/fn_install_glibcfix

@@ -58,8 +58,8 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215
 		fn_glibcfixmsg
 		cd "${filesdir}"
 		wget -nv -N --no-check-certificate https://github.com/dgibbs64/linuxgameservers/raw/master/FistfulOfFrags/dependencies/libm.so.6
-	# Garrys's Mod
-	elif [ "${gamename}" == "Garrys's Mod" ]; then
+	# Garry's Mod
+	elif [ "${gamename}" == "Garry's Mod" ]; then
 		glibcversion="2.15"
 		fn_glibcfixmsg
 		cd "${filesdir}/bin"

+ 2 - 2
functions/fn_install_steamfix

@@ -23,7 +23,7 @@ echo "================================="
 sleep 1
 mkdir -pv "${HOME}/.steam"
 mkdir -pv "${HOME}/.steam/sdk32"
-if [ "${gamename}" == "Garrys's Mod" ]; then
+if [ "${gamename}" == "Garry's Mod" ]; then
 	cp -v "${filesdir}/bin/libsteam.so" "${HOME}/.steam/sdk32/libsteam.so"
 elif [ "${gamename}" == "Serious Sam 3: BFE" ]; then
 	mkdir "${HOME}/.steam/bin32"
@@ -33,6 +33,6 @@ sleep 1
 }
 
 fn_steamclientfix
-if [ "${gamename}" == "Garrys's Mod" ]||[ "${gamename}" == "Serious Sam 3: BFE" ]; then
+if [ "${gamename}" == "Garry's Mod" ]||[ "${gamename}" == "Serious Sam 3: BFE" ]; then
 	fn_libsteamfix
 fi