Browse Source

Removed double quotes

pull/575/head
Daniel Gibbs 9 years ago
parent
commit
d0d3f2905a
  1. 2
      functions/fn_install_serverfiles
  2. 2
      functions/fn_install_ts3
  3. 4
      functions/fn_monitor_query
  4. 2
      functions/fn_update_check

2
functions/fn_install_serverfiles

@ -11,7 +11,7 @@ while [ "${counter}" == "0" ]||[ "$(grep -wc 0x402 .fn_install_serverfiles.tmp)"
counter=$((counter+1))
cd "${rootdir}/steamcmd"
./steamcmd.sh +quit > /dev/null 2>&1
if [[ $? != 0 ]]; then
if [ $? -ne 0 ]; then
fn_printfailurenl "Cannot start SteamCMD. Are dependencies installed?"
fi
if [ "${counter}" -le "10" ]; then

2
functions/fn_install_ts3

@ -27,7 +27,7 @@ paste .ts3_version_numbers_digit.tmp .ts3_version_numbers_unsorted.tmp |sort -rn
# Finds directory with most recent server version.
while read ts3_version_number; do
wget --spider -q "http://dl.4players.de/ts/releases/${ts3_version_number}/teamspeak3-server_linux-${ts3arch}-${ts3_version_number}.tar.gz"
if [[ $? == 0 ]]; then
if [ $? -eq 0 ]; theneq
availablebuild="${ts3_version_number}"
echo "Latest Build: ${availablebuild}"
# Break while-loop, if the latest release could be found

4
functions/fn_monitor_query

@ -2,7 +2,7 @@
# LGSM fn_monitor_query function
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
lgsm_version="061115"
lgsm_version="201215"
# Description: uses gsquery.py to directly query the server.
# Detects if the server has frozen.
@ -34,7 +34,7 @@ if [ -f "${rootdir}/gsquery.py" ]; then
fn_scriptlog "Querying port: ${ip}:${port} : ${serverquery}"
sleep 1
echo -en "\n"
if [[ -z "${secondquery}" ]]; then
if [ -z "${secondquery}" ]; then
if [ "${engine}" == "unreal2" ]; then
# unreal 2: Map change can take around 60 seconds
fn_printinfo "Waiting 60 seconds to re-query"

2
functions/fn_update_check

@ -227,7 +227,7 @@ paste .ts3_version_numbers_digit.tmp .ts3_version_numbers_unsorted.tmp |sort -rn
# Finds directory with most recent server version.
while read ts3_version_number; do
wget --spider -q "http://dl.4players.de/ts/releases/${ts3_version_number}/teamspeak3-server_linux-${ts3arch}-${ts3_version_number}.tar.gz"
if [[ $? == 0 ]]; then
if [ $? -eq 0 ]; then
availablebuild="${ts3_version_number}"
# Break while-loop, if the latest release could be found
break

Loading…
Cancel
Save