Update alpine-teamspeak-server-install.sh
Some checks failed
Create Changelog Pull Request / update-changelog-pull-request (push) Waiting to run
Close Discussion on PR Merge / close-discussion (push) Waiting to run
Frontend CI/CD / test-json-files (push) Waiting to run
Frontend CI/CD / build (push) Blocked by required conditions
Frontend CI/CD / deploy (push) Blocked by required conditions
Sync to Gitea / sync (push) Waiting to run
Auto Update .app-files / update-app-files (push) Has been cancelled

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

View file

@ -20,11 +20,7 @@ $STD apk add --no-cache \
libc6-compat libc6-compat
msg_ok "Installed dependencies" msg_ok "Installed dependencies"
RELEASE=$(curl -fsSL https://teamspeak.com/en/downloads/#server \ RELEASE=$(curl -fsSL https://teamspeak.com/en/downloads/#server | sed -n 's/.*teamspeak3-server_linux_amd64-\([0-9.]\+\).*/\1/p' | head -1)
| 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
cd /opt/teamspeak-server cd /opt/teamspeak-server