From 9c4df59a48786263165f740492333f61d55fbde7 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 20 Dec 2015 17:05:29 +0000 Subject: [PATCH] Updated selfname and curl error checking --- 7DaysToDie/sdtdserver | 6 +++--- ARKSurvivalEvolved/arkserver | 6 +++--- Arma3/arma3server | 6 +++--- BlackMesa/bmdmserver | 6 +++--- BladeSymphony/bsserver | 6 +++--- CounterStrike/csserver | 6 +++--- CounterStrikeConditionZero/csczserver | 6 +++--- CounterStrikeGlobalOffensive/csgoserver | 6 +++--- CounterStrikeSource/cssserver | 6 +++--- DayOfDefeat/dodserver | 6 +++--- DayOfDefeatSource/dodsserver | 6 +++--- DeathmatchClassic/dmcserver | 6 +++--- DontStarveTogether/dstserver | 6 +++--- DoubleActionBoogaloo/dabserver | 6 +++--- FistfulOfFrags/fofserver | 6 +++--- GarrysMod/gmodserver | 6 +++--- HalfLife2Deathmatch/hl2dmserver | 6 +++--- HalfLifeDeathmatch/hldmserver | 6 +++--- HalfLifeDeathmatchSource/hldmsserver | 6 +++--- Insurgency/insserver | 8 ++++---- JustCause2/jc2server | 6 +++--- KillingFloor/kfserver | 6 +++--- Left4Dead/l4dserver | 6 +++--- Left4Dead2/l4d2server | 6 +++--- Mumble/mumbleserver | 6 +++--- NS2Combat/ns2cserver | 6 +++--- NaturalSelection2/ns2server | 6 +++--- NoMoreRoomInHell/nmrihserver | 6 +++--- OpposingForce/opforserver | 6 +++--- PiratesVikingandKnightsII/pvkiiserver | 6 +++--- ProjectZomboid/pzserver | 6 +++--- RedOrchestra/roserver | 6 +++--- Ricochet/ricochetserver | 6 +++--- SeriousSam3BFE/ss3sserver | 4 ++-- StarBound/sbserver | 6 +++--- TeamFortress2/tf2server | 6 +++--- TeamFortressClassic/tfcserver | 6 +++--- TeamSpeak3/ts3server | 6 +++--- Teeworlds/twserver | 6 +++--- Terraria/terrariaserver | 6 +++--- UnrealTournament2004/ut2k4server | 6 +++--- UnrealTournament99/ut99server | 4 ++-- 42 files changed, 125 insertions(+), 125 deletions(-) diff --git a/7DaysToDie/sdtdserver b/7DaysToDie/sdtdserver index 7315b5eae..000b668cc 100644 --- a/7DaysToDie/sdtdserver +++ b/7DaysToDie/sdtdserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -44,7 +44,7 @@ engine="unity3d" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -97,7 +97,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/ARKSurvivalEvolved/arkserver b/ARKSurvivalEvolved/arkserver index 93ce6151c..ad3809cde 100644 --- a/ARKSurvivalEvolved/arkserver +++ b/ARKSurvivalEvolved/arkserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -43,7 +43,7 @@ engine="unreal4" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/ShooterGame" @@ -95,7 +95,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/Arma3/arma3server b/Arma3/arma3server index 80d8ab72e..d2e7cc34b 100644 --- a/Arma3/arma3server +++ b/Arma3/arma3server @@ -4,7 +4,7 @@ # Author: Daniel Gibbs # Contributor: Scarsz # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -55,7 +55,7 @@ engine="realvirtuality" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -110,7 +110,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/BlackMesa/bmdmserver b/BlackMesa/bmdmserver index 19b577df8..870e3e574 100644 --- a/BlackMesa/bmdmserver +++ b/BlackMesa/bmdmserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/bms" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/BladeSymphony/bsserver b/BladeSymphony/bsserver index fc2e67d84..388bcdaa5 100644 --- a/BladeSymphony/bsserver +++ b/BladeSymphony/bsserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/berimbau" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/CounterStrike/csserver b/CounterStrike/csserver index 92a7108ce..a27e04bb2 100644 --- a/CounterStrike/csserver +++ b/CounterStrike/csserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="goldsource" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/cstrike" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/CounterStrikeConditionZero/csczserver b/CounterStrikeConditionZero/csczserver index 68f5b36e4..804f713b9 100644 --- a/CounterStrikeConditionZero/csczserver +++ b/CounterStrikeConditionZero/csczserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="goldsource" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/czero" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/CounterStrikeGlobalOffensive/csgoserver b/CounterStrikeGlobalOffensive/csgoserver index fcc9eae9c..359fcc28a 100755 --- a/CounterStrikeGlobalOffensive/csgoserver +++ b/CounterStrikeGlobalOffensive/csgoserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -72,7 +72,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/csgo" @@ -124,7 +124,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/CounterStrikeSource/cssserver b/CounterStrikeSource/cssserver index 6079cec51..3eb8f2d69 100644 --- a/CounterStrikeSource/cssserver +++ b/CounterStrikeSource/cssserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/cstrike" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/DayOfDefeat/dodserver b/DayOfDefeat/dodserver index 22ca76075..c45f85279 100644 --- a/DayOfDefeat/dodserver +++ b/DayOfDefeat/dodserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="goldsource" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/dod" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/DayOfDefeatSource/dodsserver b/DayOfDefeatSource/dodsserver index 923d9ea3b..438a09330 100644 --- a/DayOfDefeatSource/dodsserver +++ b/DayOfDefeatSource/dodsserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/dod" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/DeathmatchClassic/dmcserver b/DeathmatchClassic/dmcserver index c22fbc94e..2b1d248c3 100644 --- a/DeathmatchClassic/dmcserver +++ b/DeathmatchClassic/dmcserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="goldsource" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/dmc" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/DontStarveTogether/dstserver b/DontStarveTogether/dstserver index ea1e832d0..d11cd3182 100644 --- a/DontStarveTogether/dstserver +++ b/DontStarveTogether/dstserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -43,7 +43,7 @@ engine="dontstarve" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -95,7 +95,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/DoubleActionBoogaloo/dabserver b/DoubleActionBoogaloo/dabserver index f3bac60ed..41bed53da 100644 --- a/DoubleActionBoogaloo/dabserver +++ b/DoubleActionBoogaloo/dabserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/dab" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/FistfulOfFrags/fofserver b/FistfulOfFrags/fofserver index 3aa4e88c7..778b2a924 100644 --- a/FistfulOfFrags/fofserver +++ b/FistfulOfFrags/fofserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/fof" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index f38bb3a47..ed553c99a 100644 --- a/GarrysMod/gmodserver +++ b/GarrysMod/gmodserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="161215" +version="201215" #### Variables #### @@ -60,7 +60,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/garrysmod" @@ -112,7 +112,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/HalfLife2Deathmatch/hl2dmserver b/HalfLife2Deathmatch/hl2dmserver index a113a1a76..c58428de3 100644 --- a/HalfLife2Deathmatch/hl2dmserver +++ b/HalfLife2Deathmatch/hl2dmserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/hl2mp" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/HalfLifeDeathmatch/hldmserver b/HalfLifeDeathmatch/hldmserver index 5e3008f28..c0a0b396e 100644 --- a/HalfLifeDeathmatch/hldmserver +++ b/HalfLifeDeathmatch/hldmserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -48,7 +48,7 @@ engine="goldsource" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/valve" @@ -100,7 +100,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/HalfLifeDeathmatchSource/hldmsserver b/HalfLifeDeathmatchSource/hldmsserver index 89a5595f6..a44ad150a 100644 --- a/HalfLifeDeathmatchSource/hldmsserver +++ b/HalfLifeDeathmatchSource/hldmsserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/hl1mp" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/Insurgency/insserver b/Insurgency/insserver index 775ca961d..fa31d90d5 100644 --- a/Insurgency/insserver +++ b/Insurgency/insserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -48,8 +48,8 @@ gamename="Insurgency" engine="source" # Directories -rootdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -selfname="$(basename $0)" +rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/insurgency" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/JustCause2/jc2server b/JustCause2/jc2server index 1180bd6d4..1bf4a2ebf 100644 --- a/JustCause2/jc2server +++ b/JustCause2/jc2server @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -42,7 +42,7 @@ engine="avalanche" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -94,7 +94,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/KillingFloor/kfserver b/KillingFloor/kfserver index 9c3842a06..6a7a8743b 100644 --- a/KillingFloor/kfserver +++ b/KillingFloor/kfserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -48,7 +48,7 @@ engine="unreal2" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/System" @@ -103,7 +103,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/Left4Dead/l4dserver b/Left4Dead/l4dserver index 225b63b8c..f69e3148a 100644 --- a/Left4Dead/l4dserver +++ b/Left4Dead/l4dserver @@ -4,7 +4,7 @@ # Author: Daniel Gibbs # Contributor: Summit Singh Thakur # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/left4dead" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/Left4Dead2/l4d2server b/Left4Dead2/l4d2server index f3bedff70..f0d4788c5 100644 --- a/Left4Dead2/l4d2server +++ b/Left4Dead2/l4d2server @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -48,7 +48,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/left4dead2" @@ -100,7 +100,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/Mumble/mumbleserver b/Mumble/mumbleserver index 9c3510839..1177aa8a8 100644 --- a/Mumble/mumbleserver +++ b/Mumble/mumbleserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -18,7 +18,7 @@ servicename="mumble-server" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -80,7 +80,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/NS2Combat/ns2cserver b/NS2Combat/ns2cserver index 2d057a588..777502136 100644 --- a/NS2Combat/ns2cserver +++ b/NS2Combat/ns2cserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -58,7 +58,7 @@ engine="spark" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -106,7 +106,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/NaturalSelection2/ns2server b/NaturalSelection2/ns2server index 8de53b806..92ab4a717 100644 --- a/NaturalSelection2/ns2server +++ b/NaturalSelection2/ns2server @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -58,7 +58,7 @@ engine="spark" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -106,7 +106,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/NoMoreRoomInHell/nmrihserver b/NoMoreRoomInHell/nmrihserver index 4cb7a6b24..3bc4ecda6 100644 --- a/NoMoreRoomInHell/nmrihserver +++ b/NoMoreRoomInHell/nmrihserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/nmrih" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/OpposingForce/opforserver b/OpposingForce/opforserver index 04b0fdb94..f09424975 100644 --- a/OpposingForce/opforserver +++ b/OpposingForce/opforserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="goldsource" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/gearbox" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/PiratesVikingandKnightsII/pvkiiserver b/PiratesVikingandKnightsII/pvkiiserver index f105b3a57..c17281dc6 100644 --- a/PiratesVikingandKnightsII/pvkiiserver +++ b/PiratesVikingandKnightsII/pvkiiserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/pvkii" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/ProjectZomboid/pzserver b/ProjectZomboid/pzserver index 0d87dd24c..2a7792597 100644 --- a/ProjectZomboid/pzserver +++ b/ProjectZomboid/pzserver @@ -4,7 +4,7 @@ # Author: Daniel Gibbs # Contributions: Bryce Van Dyk (SingingTree) # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -44,7 +44,7 @@ engine="projectzomboid" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -95,7 +95,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/RedOrchestra/roserver b/RedOrchestra/roserver index 57e42f9ac..68ad33b47 100644 --- a/RedOrchestra/roserver +++ b/RedOrchestra/roserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -44,7 +44,7 @@ appid="223250" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/system" @@ -99,7 +99,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/Ricochet/ricochetserver b/Ricochet/ricochetserver index 803fe095e..7c5d8c93c 100644 --- a/Ricochet/ricochetserver +++ b/Ricochet/ricochetserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="goldsource" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/ricochet" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/SeriousSam3BFE/ss3sserver b/SeriousSam3BFE/ss3sserver index 3e0d707e4..e83937f83 100644 --- a/SeriousSam3BFE/ss3sserver +++ b/SeriousSam3BFE/ss3sserver @@ -44,7 +44,7 @@ engine="seriousengine35" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/Bin" @@ -98,7 +98,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/StarBound/sbserver b/StarBound/sbserver index 9c3263a76..27cd544f7 100644 --- a/StarBound/sbserver +++ b/StarBound/sbserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -43,7 +43,7 @@ engine="starbound" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -94,7 +94,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/TeamFortress2/tf2server b/TeamFortress2/tf2server index bc7f9b985..f6596bfb9 100644 --- a/TeamFortress2/tf2server +++ b/TeamFortress2/tf2server @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -54,7 +54,7 @@ engine="source" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/tf" @@ -106,7 +106,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/TeamFortressClassic/tfcserver b/TeamFortressClassic/tfcserver index 135e528a9..49abcf2b7 100644 --- a/TeamFortressClassic/tfcserver +++ b/TeamFortressClassic/tfcserver @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -49,7 +49,7 @@ engine="goldsource" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/tfc" @@ -101,7 +101,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/TeamSpeak3/ts3server b/TeamSpeak3/ts3server index 2af8ede5b..2fbdd2915 100644 --- a/TeamSpeak3/ts3server +++ b/TeamSpeak3/ts3server @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -22,7 +22,7 @@ servicename="ts3-server" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -77,7 +77,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/Teeworlds/twserver b/Teeworlds/twserver index 5cfc0ad4a..49527b8d1 100644 --- a/Teeworlds/twserver +++ b/Teeworlds/twserver @@ -4,7 +4,7 @@ # Author: Daniel Gibbs # Contributor: Bryce Van Dyk (SingingTree) # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -44,7 +44,7 @@ engine="teeworlds" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -97,7 +97,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/Terraria/terrariaserver b/Terraria/terrariaserver index 78e7c5bde..47020ed4c 100644 --- a/Terraria/terrariaserver +++ b/Terraria/terrariaserver @@ -4,7 +4,7 @@ # Author: Daniel Gibbs # Contributor: Bryce Van Dyk (SingingTree) # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -44,7 +44,7 @@ engine="terraria" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}" @@ -96,7 +96,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/UnrealTournament2004/ut2k4server b/UnrealTournament2004/ut2k4server index b64042f2b..868b99047 100644 --- a/UnrealTournament2004/ut2k4server +++ b/UnrealTournament2004/ut2k4server @@ -3,7 +3,7 @@ # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com -version="121215" +version="201215" #### Variables #### @@ -27,7 +27,7 @@ engine="unreal2" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/System" @@ -89,7 +89,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else diff --git a/UnrealTournament99/ut99server b/UnrealTournament99/ut99server index 259f6a235..c43971195 100644 --- a/UnrealTournament99/ut99server +++ b/UnrealTournament99/ut99server @@ -29,7 +29,7 @@ engine="unreal" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" -selfname=$(basename $(readlink -f "${BASH_SOURCE[0]}")) +selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}/serverfiles" systemdir="${filesdir}/System" @@ -88,7 +88,7 @@ if [ ! -f "${filepath}" ]; then curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "\e[0;31mFAIL\e[0m\n" - echo " ${curl}"|grep "curl:" + echo "${curl}" echo -e "${githuburl}\n" exit else