Skip to content
Permalink
Browse files

fix(update): correct minecraft localbuild var

  • Loading branch information...
dgibbs64 committed May 6, 2019
1 parent 954e4e9 commit 147dd20bc264bf4c60806c2ef36d457f0fa55ba1
Showing with 1 addition and 1 deletion.
  1. +1 −1 lgsm/functions/update_minecraft.sh
@@ -81,7 +81,7 @@ fn_update_minecraft_localbuild(){
loopignore=1
fn_script_log_info "Waiting for local build to generate"
fi
localbuild=$(cat "${serverfiles}/logs/latest.log" 2> /dev/null | grep version | grep -Eo '((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}' | grep -Eo "TeamSpeak 3 Server ((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}" | grep -Eo "((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}")
localbuild=$(cat "${serverfiles}/logs/latest.log" 2> /dev/null | grep version | grep -Eo '((\.)?[0-9]{1,3}){1,3}\.[0-9]{1,3}')
if [ "${localbuild}" ]||[ "${seconds}" == "120" ]; then
break
fi

0 comments on commit 147dd20

Please sign in to comment.
You can’t perform that action at this time.