Update alpine-teamspeak-server-install.sh

This commit is contained in:
CanbiZ 2025-07-25 14:46:56 +02:00 committed by GitHub
parent 6afa25b06b
commit c688887f43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,11 +17,13 @@ msg_info "Installing dependencies"
$STD apk add --no-cache \ $STD apk add --no-cache \
ca-certificates \ ca-certificates \
libstdc++ \ libstdc++ \
libc6-compat \ libc6-compat
grep
msg_ok "Installed dependencies" msg_ok "Installed dependencies"
RELEASE=$(curl -fsSL https://teamspeak.com/en/downloads/#server | grep -oP 'teamspeak3-server_linux_amd64-\K[0-9]+\.[0-9]+\.[0-9]+' | head -1) RELEASE=$(curl -fsSL https://teamspeak.com/en/downloads/#server \
| grep -oE 'teamspeak3-server_linux_amd64-[0-9]+\.[0-9]+\.[0-9]+' \
| head -1 \
| sed 's/teamspeak3-server_linux_amd64-//')
msg_info "Installing Teamspeak Server v${RELEASE}" msg_info "Installing Teamspeak Server v${RELEASE}"
mkdir -p /opt/teamspeak-server mkdir -p /opt/teamspeak-server