From b36e62694c4a145cba25e8149c9e2506c7656da0 Mon Sep 17 00:00:00 2001 From: zenobit Date: Tue, 16 Jan 2024 11:39:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20=20Gentoo=20livegui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zenobit --- quickget | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index 3e5b47a..f399499 100755 --- a/quickget +++ b/quickget @@ -678,6 +678,10 @@ function releases_gentoo() { echo latest } +function editions_gentoo() { + echo minimal livegui +} + function releases_ghostbsd() { echo 21.10.16 21.11.24 22.01.12 } @@ -1882,8 +1886,12 @@ function get_gentoo() { local ISO="" local URL="https://mirror.bytemark.co.uk/gentoo/releases/amd64/autobuilds/" - ISO=$(wget -q -O- "${URL}/${RELEASE}-iso.txt" | grep install | cut -d' ' -f1) - HASH=$( wget -q -O- "${URL}/${ISO}.DIGESTS" | grep -A 1 SHA512 | grep iso | grep -v CONTENTS | cut -d' ' -f1) + case ${EDITION} in + minimal) ISO=$(wget -q -O- "${URL}/${RELEASE}-iso.txt" | grep install | cut -d' ' -f1) + HASH=$( wget -q -O- "${URL}/${ISO}.DIGESTS" | grep -A 1 SHA512 | grep iso | grep -v CONTENTS | cut -d' ' -f1);; + livegui) ISO=$(wget -q -O- "${URL}/${RELEASE}-iso.txt" | grep livegui | cut -d' ' -f1) + HASH=$( wget -q -O- "${URL}/${ISO}.DIGESTS" | grep -A 1 SHA512 | grep iso | grep -v CONTENTS | cut -d' ' -f1);; + esac echo "${URL}/${ISO} ${HASH}" }