From ff6105c7a8d81f173609fff007028e1135c3a843 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 9 Jan 2021 23:09:18 +0000 Subject: [PATCH] var name change --- lgsm/functions/update_vintagestory.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lgsm/functions/update_vintagestory.sh b/lgsm/functions/update_vintagestory.sh index 0a7e0e6f0..5eb4b799c 100755 --- a/lgsm/functions/update_vintagestory.sh +++ b/lgsm/functions/update_vintagestory.sh @@ -9,9 +9,9 @@ functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" fn_update_vs_dl(){ # get version info for download remotebuildresponse=$(curl -s "${apiurl}" | jq --arg version "${remotebuild}" '.[$version].server') - remotebuildfile=$(echo -e "${vsapiresponse}" | jq -r '.filename') - remotebuildlink=$(echo -e "${vsapiresponse}" | jq -r '.urls.cdn') - remotebuildmd5=$(echo -e "${vsapiresponse}" | jq -r '.md5') + remotebuildfile=$(echo -e "${remotebuildresponse}" | jq -r '.filename') + remotebuildlink=$(echo -e "${remotebuildresponse}" | jq -r '.urls.cdn') + remotebuildmd5=$(echo -e "${remotebuildresponse}" | jq -r '.md5') # Download and extract files to serverfiles fn_fetch_file "${remotebuildlink}" "" "" "" "${tmpdir}" "${remotebuildfile}" "nochmodx" "norun" "force" "${remotebuildmd5}"