mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-15 11:49:43 +00:00
Update alpine-teamspeak-server-install.sh
This commit is contained in:
parent
6afa25b06b
commit
c688887f43
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue