Update alpine-teamspeak-server-install.sh

This commit is contained in:
CanbiZ 2025-07-25 14:43:40 +02:00 committed by GitHub
parent 72fc8a1880
commit 2c57cd815b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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