Browse Source

added function name

pull/914/head
Daniel Gibbs 9 years ago
parent
commit
0e94e2bb7e
  1. 3
      lgsm/functions/command_update.sh
  2. 3
      lgsm/functions/update_ts3.sh

3
lgsm/functions/command_update.sh

@ -6,6 +6,9 @@ lgsm_version="210516"
# Description:Hangles updating of servers.
local modulename="Update"
function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
check.sh
fn_print_dots "Checking for update"

3
lgsm/functions/update_ts3.sh

@ -6,6 +6,9 @@ lgsm_version="210516"
# Description:Handles updating of teamspeak 3 servers.
local modulename="Update"
function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
fn_update_ts3_dl(){
fn_fetch_file "http://dl.4players.de/ts/releases/${ts3_version_number}/teamspeak3-server_linux_${ts3arch}-${ts3_version_number}.tar.bz2" "${lgsmdir}/tmp" "teamspeak3-server_linux_${ts3arch}-${ts3_version_number}.tar.bz2"
fn_dl_extract "${lgsmdir}/tmp" "teamspeak3-server_linux_${ts3arch}-${ts3_version_number}.tar.bz2" "${filesdir}"

Loading…
Cancel
Save