Browse Source

fix(ts3server): corrected ts3arch if

pull/2207/head
Daniel Gibbs 6 years ago
parent
commit
07461bf7e1
  1. 2
      lgsm/functions/update_ts3.sh

2
lgsm/functions/update_ts3.sh

@ -10,7 +10,7 @@ local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
fn_update_ts3_dl(){
info_distro.sh
if [ "${ts3arch}" == "x86_64" ]; then
if [ "${ts3arch}" == "amd64" ]; then
latestts3releaselink=$(${curlpath} -s 'https://www.teamspeak.com/versions/server.json' | jq -r '.linux.x86_64.mirrors."teamspeak.com"')
elif [ "${ts3arch}" == "x86" ]; then
latestts3releaselink=$(${curlpath} -s 'https://www.teamspeak.com/versions/server.json' | jq -r '.linux.x86.mirrors."teamspeak.com"')

Loading…
Cancel
Save