Browse Source
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.
pull/4896/head
Daniel Gibbs
2 months ago
Failed to extract signature
2 changed files with
3 additions and
3 deletions
-
lgsm/config-default/config-lgsm/etlserver/_default.cfg
-
lgsm/modules/update_etl.sh
|
|
|
@ -141,7 +141,7 @@ consoleinteract="yes" |
|
|
|
# Do not edit |
|
|
|
gamename="ET: Legacy" |
|
|
|
engine="idtech3" |
|
|
|
glibc="2.7" |
|
|
|
glibc="2.17" |
|
|
|
|
|
|
|
#### Directories #### |
|
|
|
# Edit with care |
|
|
|
|
|
|
|
@ -19,8 +19,8 @@ fn_update_localbuild() { |
|
|
|
# Gets local build info. |
|
|
|
fn_print_dots "Checking local build: ${remotelocation}" |
|
|
|
# Try to get build version from etconsole.log. |
|
|
|
if [ -f "${serverfiles}/legacy/etconsole.log" ]; then |
|
|
|
localbuild=$(grep "Initializing legacy game" "${serverfiles}/legacy/etconsole.log" | sed -n 's/.*\^2\(v[0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/p' | tail -1) |
|
|
|
if [ -f "${gamelogdir}/etconsole.log" ]; then |
|
|
|
localbuild=$(grep "Initializing legacy game" "${gamelogdir}/etconsole.log" | sed -n 's/.*\^2\(v[0-9]\+\.[0-9]\+\.[0-9]\+\).*/\1/p' | tail -1) |
|
|
|
fi |
|
|
|
# Fall back to build.txt if log parse failed or log does not exist. |
|
|
|
if [ -z "${localbuild}" ]; then |
|
|
|
|