Updated selfname and curl error checking

This commit is contained in:
Daniel Gibbs 2015-12-20 17:05:29 +00:00
parent 4e67cadb5d
commit 9c4df59a48
42 changed files with 125 additions and 125 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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