From bd178bb4c358d1bf450bd9a818aa84c8838a9c9b Mon Sep 17 00:00:00 2001 From: Liam <33645555+lj3954@users.noreply.github.com> Date: Tue, 29 Jul 2025 11:32:37 -0700 Subject: [PATCH] chore: Document Fedora edition/variant change --- quickget | 2 ++ 1 file changed, 2 insertions(+) diff --git a/quickget b/quickget index 6d8579b..8ffc41c 100755 --- a/quickget +++ b/quickget @@ -1894,6 +1894,8 @@ function get_fedora() { # shellcheck disable=SC2086 + # Fedora may promote variants from Spins to Editions, in which case we want to accept either "Spins" or the specific edition name to preserve backwards compatibility + # For example, Fedora 42 KDE is now an edition, while previous releases are spins JSON=$(web_pipe "https://getfedora.org/releases.json" | jq '.[] | select((.variant=="'"${VARIANT}"'" or .variant=="'"${EDITION}"'") and .subvariant=="'"${EDITION}"'" and .arch=="x86_64" and .version=="'"${RELEASE}"'" and (.link | endswith(".iso")))') URL=$(echo "${JSON}" | jq -r '.link' | head -n1) HASH=$(echo "${JSON}" | jq -r '.sha256' | head -n1)