Skip to content

Commit eab9e66

Browse files
committed
feat(etl): update glibc requirement and log path detection
Updates the minimum glibc requirement to 2.17 and switches the local build detection to use the gamelogdir variable instead of a hardcoded path.
1 parent 836c66d commit eab9e66

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lgsm/config-default/config-lgsm/etlserver/_default.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ consoleinteract="yes"
141141
# Do not edit
142142
gamename="ET: Legacy"
143143
engine="idtech3"
144-
glibc="2.7"
144+
glibc="2.17"
145145

146146
#### Directories ####
147147
# Edit with care

lgsm/modules/update_etl.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ fn_update_localbuild() {
1919
# Gets local build info.
2020
fn_print_dots "Checking local build: ${remotelocation}"
2121
# Try to get build version from etconsole.log.
22-
if [ -f "${serverfiles}/legacy/etconsole.log" ]; then
23-
localbuild=$(grep "Initializing legacy game" "${serverfiles}/legacy/etconsole.log" | sed -n 's/.*\^2\(v[0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/p' | tail -1)
22+
if [ -f "${gamelogdir}/etconsole.log" ]; then
23+
localbuild=$(grep "Initializing legacy game" "${gamelogdir}/etconsole.log" | sed -n 's/.*\^2\(v[0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/p' | tail -1)
2424
fi
2525
# Fall back to build.txt if log parse failed or log does not exist.
2626
if [ -z "${localbuild}" ]; then

0 commit comments

Comments
 (0)