Skip to content

Commit

Permalink
Merge branch 'hotfix/v19.12.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Dec 2, 2019
2 parents b0c623f + 715367e commit d36b7cc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions lgsm/config-default/config-lgsm/sbotsserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ telegramtoken="accesstoken"
telegramchatid=""
curlcustomstring=""

## Updating | https://docs.linuxgsm.com/commands/update
updateonstart="off"

## Backup | https://docs.linuxgsm.com/commands/backup
maxbackups="4"
maxbackupdays="30"
Expand Down
1 change: 1 addition & 0 deletions lgsm/config-default/config-lgsm/sdtdserver/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ executable=$([ "$(uname -m)" == "x86_64" ] && echo -e "./7DaysToDieServer.x86_64
servercfgdefault="serverconfig.xml"
servercfgfullpathdefault="${serverfiles}/${servercfgdefault}"
servercfgdir="${serverfiles}"
servercfg="${selfname}.xml"
servercfgfullpath="${servercfgdir}/${servercfg}"

## Backup Directory
Expand Down
2 changes: 1 addition & 1 deletion lgsm/config-default/config-lgsm/ut99server/_default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ stopmode="2"
# 4: gsquery
# 5: tcp
querymode="2"
querytype="protocol-unreal2"
querytype="protocol-gamespy1"

## Game Server Details
# Do not edit
Expand Down
6 changes: 3 additions & 3 deletions lgsm/functions/core_dl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn_dl_extract(){
elif [ "${mime}" == "application/x-xz" ]; then
tarcmd=$(tar -xf "${local_filedir}/${local_filename}" -C "${extractdir}")
elif [ "${mime}" == "application/zip" ]; then
extractcmd=$(unzip -dq "${extractdir}" "${local_filedir}/${local_filename}")
extractcmd=$(unzip -qo -d "${extractdir}" "${local_filedir}/${local_filename}")
fi
local exitcode=$?
if [ ${exitcode} -ne 0 ]; then
Expand Down Expand Up @@ -133,11 +133,11 @@ fn_fetch_file(){
echo -en "downloading ${local_filename}..."
fn_sleep_time
echo -en "\033[1K"
curlcmd=$(curl --progress-bar --retry 10 --retry-delay 3 --fail -L -C - -o "${local_filedir}/${local_filename}" "${remote_fileurl}")
curlcmd=$(curl --progress-bar --fail -L -o "${local_filedir}/${local_filename}" "${remote_fileurl}")
echo -en "downloading ${local_filename}..."
else
echo -en " fetching ${local_filename}...\c"
curlcmd=$(curl -s --retry 3 --retry-delay 3 --fail -L -C - -o "${local_filedir}/${local_filename}" "${remote_fileurl}" 2>&1)
curlcmd=$(curl -s --fail -L -o "${local_filedir}/${local_filename}" "${remote_fileurl}" 2>&1)
fi
local exitcode=$?
if [ ${exitcode} -ne 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion linuxgsm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then
set -x
fi

version="v19.12.3"
version="v19.12.4"
shortname="core"
gameservername="core"
rootdir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
Expand Down

0 comments on commit d36b7cc

Please sign in to comment.