From 7f3d15f2983d50974bbc32b770af78a29d80bf46 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sun, 28 Apr 2024 13:24:32 +0100 Subject: [PATCH] fix: update gnomeos to correctly resolve URLs to .iso images --- quickget | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/quickget b/quickget index 2a7aed9..20df614 100755 --- a/quickget +++ b/quickget @@ -799,8 +799,7 @@ function editions_gentoo() { } function releases_ghostbsd() { - web_pipe "https://download.ghostbsd.org/releases/amd64/" | grep "href" | cut -d'"' -f2 | cut -d'/' -f1 | sort -r | tail +3 | head -n 5 | tr '\n' ' ' - echo + echo $(web_pipe "https://download.ghostbsd.org/releases/amd64/" | grep "href" | cut -d'"' -f2 | cut -d'/' -f1 | sort -r | tail +3 | head -3) } function editions_ghostbsd() { @@ -808,9 +807,7 @@ function editions_ghostbsd() { } function releases_gnomeos() { - local GNOMEOS_RELEASES="" - GNOMEOS_RELEASES="$(web_pipe "https://download.gnome.org/gnomeos/" | grep -o -P '(?<=