Browse Source

filename fix

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

6
lgsm/modules/update_xnt.sh

@ -40,8 +40,10 @@ fn_update_remotebuild() {
apiurl="https://api.github.com/repos/xonotic/xonotic/tags"
remotebuildresponse=$(curl -s "${apiurl}")
remotebuildtag=$(echo "${remotebuildresponse}" | jq -r '.[0].name')
remotebuildurl="https://dl.xonotic.org/${remotebuildtag}.zip"
remotebuildfilename="${remotebuildtag}.zip"
remotebuildfilename=$(echo "${remotebuildtag}" | tr -d 'v')
remotebuildfilename="${remotebuildfilename}.zip"
remotebuildurl="https://dl.xonotic.org/${remotebuildfilename}"
remotebuildversion="${remotebuildtag}"
if [ "${firstcommandname}" != "INSTALL" ]; then

Loading…
Cancel
Save