From 083ee169dd6424b87aee87d440d7287deaeddac9 Mon Sep 17 00:00:00 2001 From: Mandy Schoep <2277717+OhMyMndy@users.noreply.github.com> Date: Wed, 3 Jul 2024 14:01:11 +0000 Subject: [PATCH] fix: download Fedora Silverblue iso instead of ociarchive file --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index 3f23bed6b3..116278d5e2 100755 --- a/quickget +++ b/quickget @@ -1841,7 +1841,7 @@ function get_fedora() { *) VARIANT="Spins";; esac #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) HASH=$(echo "${JSON}" | jq -r '.sha256' | head -n1) echo "${URL} ${HASH}"