Browse Source

change extract location

pull/4633/head
Daniel Gibbs 12 months ago
parent
commit
7145968ca5
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 5
      lgsm/modules/update_xnt.sh

5
lgsm/modules/update_xnt.sh

@ -9,9 +9,8 @@ module_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
fn_update_dl() {
# Download and extract files to serverfiles.
fn_fetch_file "${remotebuildurl}" "" "" "" "${tmpdir}" "${remotebuildfilename}" "nochmodx" "norun" "force" "nohash"
fn_dl_extract "${tmpdir}" "${remotebuildfilename}" "${serverfiles}"
echo "${remotebuildversion}" > "${serverfiles}/build.txt"
fn_fetch_file "${remotebuildurl}" "" "" "" "${tmpdir}" "${remotebuildfilename}" "nochmodx" "norun" "force" "${remotebuildhash}"
fn_dl_extract "${tmpdir}" "${remotebuildfilename}" "${serverfiles}" "Xonotic"
fn_clear_tmp
}

Loading…
Cancel
Save