Skip to content

Commit

Permalink
Use consistent ISO derivation in get_tails()
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Feb 22, 2022
1 parent df4442a commit 5cf883a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickget
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ function get_tails() {
RELEASE_JSON="$(wget -q -O- "${RELEASE_JSON_URL}")"
URL=$(echo "${RELEASE_JSON}" | jq -r '.installations[0]."installation-paths"[]|select(.type=="iso")|."target-files"[0].url')
HASH=$(echo "${RELEASE_JSON}" | jq -r '.installations[0]."installation-paths"[]|select(.type=="iso")|."target-files"[0].sha256')
ISO=$(echo "${URL}" | sed -e "s/.*\/\([^\/]*\)$/\1/")
ISO="${URL##*/}"
web_get "${URL}" "${VM_PATH}"
check_hash "${ISO}" "${HASH}"
make_vm_config "${ISO}"
Expand Down

0 comments on commit 5cf883a

Please sign in to comment.