From 4c511a74d75b0b21c276dc80746b9444ec4f6890 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sun, 28 Apr 2024 20:09:29 +0100 Subject: [PATCH] feat: make releases_fedora() and editions_fedora() dynamic --- quickget | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index 7690fb9..c78ef37 100755 --- a/quickget +++ b/quickget @@ -789,11 +789,11 @@ function editions_endless() { } function releases_fedora() { - echo 40 39 + echo $(web_pipe "https://getfedora.org/releases.json" | jq -r 'map(.version) | unique | .[]' | sort -r) } function editions_fedora() { - echo Workstation Budgie Cinnamon i3 KDE LXDE LXQt Mate Xfce Silverblue Sericea Kinoite Sway Server Onyx + echo $(web_pipe "https://getfedora.org/releases.json" | jq -r 'map(select(.arch=="x86_64" and .variant!="Labs" and .variant!="IoT" and .variant!="Container" and .variant!="Cloud" and .variant!="Everything" and .subvariant!="Security" and .subvariant!="Server_KVM" and .subvariant!="SoaS")) | map(.subvariant) | unique | .[]' | sort) } function releases_freebsd(){