🛠 Gentoo livegui

Signed-off-by: zenobit <zenobit@disroot.org>
This commit is contained in:
zenobit 2024-01-16 11:39:24 +01:00 committed by Martin Wimpress
parent 5e980a8631
commit b36e62694c
1 changed files with 10 additions and 2 deletions

View File

@ -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}"
}