Browse Source

Fixed TS3 update

pull/2066/head
Marvin Lehmann 7 years ago
committed by GitHub
parent
commit
b85b934d3f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lgsm/functions/update_ts3.sh

4
lgsm/functions/update_ts3.sh

@ -23,8 +23,8 @@ fn_update_ts3_dl_legacy(){
}
fn_update_ts3_dl(){
latestmcreleaselink=$(${curlpath} -s 'https://www.teamspeak.com/versions/server.json' | jq -r '.linux.x86_64.mirrors."4Netplayers.de"')
fn_fetch_file "${latestmcbuildurl}" "${tmpdir}" "teamspeak3-server_linux_${ts3arch}-${ts3_version_number}.tar.bz2"
latestts3releaselink=$(${curlpath} -s 'https://www.teamspeak.com/versions/server.json' | jq -r '.linux.x86_64.mirrors."4Netplayers.de"')
fn_fetch_file "${latestts3releaselink}" "${tmpdir}" "teamspeak3-server_linux_${ts3arch}-${ts3_version_number}.tar.bz2"
fn_dl_extract "${tmpdir}" "teamspeak3-server_linux_${ts3arch}-${ts3_version_number}.tar.bz2" "${tmpdir}"
echo -e "copying to ${serverfiles}...\c"
fn_script_log "Copying to ${serverfiles}"

Loading…
Cancel
Save