From fbd9120d76e5516cc4d8055efccf07b74f40ecf7 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 20 Sep 2014 17:13:12 +0100 Subject: [PATCH] Fixed gsquery installing in incorrect location --- Arma3/arma3server | 4 ++-- BladeSymphony/bsserver | 6 +++--- CounterStrike/csserver | 4 ++-- CounterStrikeConditionZero/csczserver | 4 ++-- CounterStrikeGlobalOffensive/csgoserver | 4 ++-- CounterStrikeSource/cssserver | 4 ++-- DayOfDefeat/dodserver | 4 ++-- DayOfDefeatSource/dodsserver | 4 ++-- FistfulOfFrags/fofserver | 6 +++--- GarrysMod/gmodserver | 2 +- HalfLife2Deathmatch/hl2dmserver | 4 ++-- HalfLifeDeathmatchClassic/hldmcserver | 4 ++-- Insurgency/insserver | 6 +++--- KillingFloor/kfserver | 4 ++-- Left4Dead/l4dserver | 4 ++-- Left4Dead2/l4d2server | 4 ++-- NaturalSelection2/ns2server | 6 +++--- NoMoreRoomInHell/nmrihserver | 6 +++--- RedOrchestra/roserver | 4 ++-- TeamFortress2/tf2server | 4 ++-- TeamFortressClassic/tfcserver | 4 ++-- UnrealTournament2004/ut2k4server | 4 ++-- UnrealTournament99/ut99server | 4 ++-- 23 files changed, 50 insertions(+), 50 deletions(-) diff --git a/Arma3/arma3server b/Arma3/arma3server index 9e6eaa4a4..645aba931 100644 --- a/Arma3/arma3server +++ b/Arma3/arma3server @@ -613,7 +613,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -723,7 +723,7 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libc.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libm.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libpthread.so.0 - cp -v "${filesdir}/bin/libsteam.so" "${HOME}/.steam/sdk32/libsteam.so" + sleep 1 echo "" elif [ "${gamename}" == "Natural Selection 2" ];then echo "Detected Natural Selection 2" diff --git a/BladeSymphony/bsserver b/BladeSymphony/bsserver index 8edd0b662..ee589f35a 100644 --- a/BladeSymphony/bsserver +++ b/BladeSymphony/bsserver @@ -616,7 +616,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -724,7 +724,7 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libc.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libm.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libpthread.so.0 - cp -v "${filesdir}/bin/libsteam.so" "${HOME}/.steam/sdk32/libsteam.so" + sleep 1 echo "" elif [ "${gamename}" == "Natural Selection 2" ];then echo "Detected Natural Selection 2" @@ -867,7 +867,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/CounterStrike/csserver b/CounterStrike/csserver index a4ef70cb0..8a0fec42a 100644 --- a/CounterStrike/csserver +++ b/CounterStrike/csserver @@ -615,7 +615,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -758,7 +758,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/CounterStrikeConditionZero/csczserver b/CounterStrikeConditionZero/csczserver index 69e809cb9..8064c0ab9 100644 --- a/CounterStrikeConditionZero/csczserver +++ b/CounterStrikeConditionZero/csczserver @@ -615,7 +615,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -758,7 +758,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/CounterStrikeGlobalOffensive/csgoserver b/CounterStrikeGlobalOffensive/csgoserver index e3bb136fb..39b38f690 100644 --- a/CounterStrikeGlobalOffensive/csgoserver +++ b/CounterStrikeGlobalOffensive/csgoserver @@ -634,7 +634,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -788,7 +788,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/CounterStrikeSource/cssserver b/CounterStrikeSource/cssserver index ded6e152d..7524476f6 100644 --- a/CounterStrikeSource/cssserver +++ b/CounterStrikeSource/cssserver @@ -616,7 +616,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -759,7 +759,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/DayOfDefeat/dodserver b/DayOfDefeat/dodserver index d915eed60..8d0573c8f 100644 --- a/DayOfDefeat/dodserver +++ b/DayOfDefeat/dodserver @@ -615,7 +615,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -758,7 +758,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/DayOfDefeatSource/dodsserver b/DayOfDefeatSource/dodsserver index 949a32c6b..63721b745 100644 --- a/DayOfDefeatSource/dodsserver +++ b/DayOfDefeatSource/dodsserver @@ -616,7 +616,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -759,7 +759,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/FistfulOfFrags/fofserver b/FistfulOfFrags/fofserver index a18fb90e9..b520e89e9 100644 --- a/FistfulOfFrags/fofserver +++ b/FistfulOfFrags/fofserver @@ -616,7 +616,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -724,7 +724,7 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libc.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libm.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libpthread.so.0 - cp -v "${filesdir}/bin/libsteam.so" "${HOME}/.steam/sdk32/libsteam.so" + sleep 1 echo "" elif [ "${gamename}" == "Natural Selection 2" ];then echo "Detected Natural Selection 2" @@ -867,7 +867,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index 3526270f7..196357bb6 100644 --- a/GarrysMod/gmodserver +++ b/GarrysMod/gmodserver @@ -621,7 +621,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" diff --git a/HalfLife2Deathmatch/hl2dmserver b/HalfLife2Deathmatch/hl2dmserver index 8269fbe7b..a006d7b7c 100644 --- a/HalfLife2Deathmatch/hl2dmserver +++ b/HalfLife2Deathmatch/hl2dmserver @@ -616,7 +616,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -759,7 +759,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/HalfLifeDeathmatchClassic/hldmcserver b/HalfLifeDeathmatchClassic/hldmcserver index 543a3e6db..faec6c030 100644 --- a/HalfLifeDeathmatchClassic/hldmcserver +++ b/HalfLifeDeathmatchClassic/hldmcserver @@ -615,7 +615,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -758,7 +758,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/Insurgency/insserver b/Insurgency/insserver index 47dbbf824..22f2c4488 100644 --- a/Insurgency/insserver +++ b/Insurgency/insserver @@ -616,7 +616,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -724,7 +724,7 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libc.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libm.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libpthread.so.0 - cp -v "${filesdir}/bin/libsteam.so" "${HOME}/.steam/sdk32/libsteam.so" + sleep 1 echo "" elif [ "${gamename}" == "Natural Selection 2" ];then echo "Detected Natural Selection 2" @@ -867,7 +867,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/KillingFloor/kfserver b/KillingFloor/kfserver index 732dbd081..bae4f4d7f 100644 --- a/KillingFloor/kfserver +++ b/KillingFloor/kfserver @@ -610,7 +610,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -810,7 +810,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/Left4Dead/l4dserver b/Left4Dead/l4dserver index a8800c91e..fa41ba9c9 100644 --- a/Left4Dead/l4dserver +++ b/Left4Dead/l4dserver @@ -615,7 +615,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -769,7 +769,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/Left4Dead2/l4d2server b/Left4Dead2/l4d2server index a24605b78..ca35f0332 100644 --- a/Left4Dead2/l4d2server +++ b/Left4Dead2/l4d2server @@ -616,7 +616,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -759,7 +759,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/NaturalSelection2/ns2server b/NaturalSelection2/ns2server index a5313ad86..53dbefc6d 100644 --- a/NaturalSelection2/ns2server +++ b/NaturalSelection2/ns2server @@ -613,7 +613,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -722,7 +722,7 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libc.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libm.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libpthread.so.0 - cp -v "${filesdir}/bin/libsteam.so" "${HOME}/.steam/sdk32/libsteam.so" + sleep 1 echo "" elif [ "${gamename}" == "Natural Selection 2" ];then echo "Detected Natural Selection 2" @@ -865,7 +865,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/NoMoreRoomInHell/nmrihserver b/NoMoreRoomInHell/nmrihserver index 7ff43ff07..47bec526e 100644 --- a/NoMoreRoomInHell/nmrihserver +++ b/NoMoreRoomInHell/nmrihserver @@ -616,7 +616,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -724,7 +724,7 @@ elif [ "$(ldd --version | sed -n '1 p' | tr -cd [:digit:] | tail -c 3)" -lt 215 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libc.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libm.so.6 wget -nv -N https://github.com/dgibbs64/linuxgameservers/raw/master/GarrysMod/dependencies/libpthread.so.0 - cp -v "${filesdir}/bin/libsteam.so" "${HOME}/.steam/sdk32/libsteam.so" + sleep 1 echo "" elif [ "${gamename}" == "Natural Selection 2" ];then echo "Detected Natural Selection 2" @@ -867,7 +867,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/RedOrchestra/roserver b/RedOrchestra/roserver index f2170e3a5..7623f0665 100644 --- a/RedOrchestra/roserver +++ b/RedOrchestra/roserver @@ -606,7 +606,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -806,7 +806,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/TeamFortress2/tf2server b/TeamFortress2/tf2server index fd43403ec..35045c15b 100644 --- a/TeamFortress2/tf2server +++ b/TeamFortress2/tf2server @@ -616,7 +616,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -759,7 +759,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/TeamFortressClassic/tfcserver b/TeamFortressClassic/tfcserver index 940f0162c..098302f41 100644 --- a/TeamFortressClassic/tfcserver +++ b/TeamFortressClassic/tfcserver @@ -615,7 +615,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -758,7 +758,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/UnrealTournament2004/ut2k4server b/UnrealTournament2004/ut2k4server index 6f7cef575..cd1ddf0c3 100644 --- a/UnrealTournament2004/ut2k4server +++ b/UnrealTournament2004/ut2k4server @@ -567,7 +567,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -821,7 +821,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac diff --git a/UnrealTournament99/ut99server b/UnrealTournament99/ut99server index 2739e3aad..1509e727c 100644 --- a/UnrealTournament99/ut99server +++ b/UnrealTournament99/ut99server @@ -564,7 +564,7 @@ if [ ${tmuxwc} -eq 1 ]; then exit fi # Create lock file -date > ${rootdir}/${lockselfname} +date > "${rootdir}/${lockselfname}" cd "${executabledir}" tmux new-session -d -s ${servicename} "${executable} ${parms}" tmux pipe-pane -o -t ${servicename} "exec cat >> '${consolelog}'" @@ -798,7 +798,7 @@ fn_getquery(){ while true; do read -p "Do you want to install GameServerQuery? [y/N]" yn case $yn in - [Yy]* ) wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py;break;; + [Yy]* ) cd "${rootdir}"; wget -nv -N "http://danielgibbs.co.uk/dl/gsquery.py"; chmod +x gsquery.py; break;; [Nn]* ) echo -e "Not installing GameServerQuery.";break;; * ) echo "Please answer yes or no.";; esac