fix: download Fedora Silverblue iso instead of ociarchive file
This commit is contained in:
parent
5568e6d4a9
commit
083ee169dd
2
quickget
2
quickget
|
@ -1841,7 +1841,7 @@ function get_fedora() {
|
||||||
*) VARIANT="Spins";;
|
*) VARIANT="Spins";;
|
||||||
esac
|
esac
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
JSON=$(web_pipe "https://getfedora.org/releases.json" | jq '.[] | select(.variant=="'${VARIANT}'" and .subvariant=="'"${EDITION}"'" and .arch=="x86_64" and .version=="'"${RELEASE}"'")')
|
JSON=$(web_pipe "https://getfedora.org/releases.json" | jq '.[] | select(.variant=="'${VARIANT}'" and .subvariant=="'"${EDITION}"'" and .arch=="x86_64" and .version=="'"${RELEASE}"'" and .sha256 != null)')
|
||||||
URL=$(echo "${JSON}" | jq -r '.link' | head -n1)
|
URL=$(echo "${JSON}" | jq -r '.link' | head -n1)
|
||||||
HASH=$(echo "${JSON}" | jq -r '.sha256' | head -n1)
|
HASH=$(echo "${JSON}" | jq -r '.sha256' | head -n1)
|
||||||
echo "${URL} ${HASH}"
|
echo "${URL} ${HASH}"
|
||||||
|
|
Loading…
Reference in New Issue