Skip to content

Commit 22e812f

Browse files
committed
fix(ts3): update now works in docker
1 parent 16c4493 commit 22e812f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lgsm/modules/update_ts3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn_update_localbuild() {
1818
# Gets local build info.
1919
fn_print_dots "Checking local build: ${remotelocation}"
2020
# Uses log file to get local build.
21-
localbuild=$(grep -Eo "TeamSpeak 3 Server ((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}" "$(find ./* -name "ts3server*_0.log" 2> /dev/null | sort | tail -1)" | grep -Eo "((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}" | tail -1)
21+
localbuild=$(grep -Eo "TeamSpeak 3 Server ((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}" "$(find "${serverfiles}"/* -name "ts3server*_0.log" 2> /dev/null | sort | tail -1)" | grep -Eo "((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}" | tail -1)
2222
if [ -z "${localbuild}" ]; then
2323
fn_print_error "Checking local build: ${remotelocation}: missing local build info"
2424
fn_script_log_error "Missing local build info"

0 commit comments

Comments
 (0)