Daniel Gibbs
12 months ago
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55
1 changed files with
4 additions and
2 deletions
-
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 |
|
|
|