gentoo: fix

https://github.com/quickemu-project/quickemu/pull/765
This commit is contained in:
zenobit 2023-09-17 01:05:05 +02:00
parent 56605ce6e9
commit fa07aca515

View file

@ -1613,7 +1613,7 @@ function get_gentoo() {
local URL="https://mirror.bytemark.co.uk/gentoo/releases/amd64/autobuilds/" local URL="https://mirror.bytemark.co.uk/gentoo/releases/amd64/autobuilds/"
ISO=$(wget -q -O- "${URL}/${RELEASE}-iso.txt" | grep install | cut -d' ' -f1) ISO=$(wget -q -O- "${URL}/${RELEASE}-iso.txt" | grep install | cut -d' ' -f1)
HASH=$( wget -q -O- "${URL}/${ISO}.DIGESTS" | grep iso | grep -v CONTENTS | cut -d' ' -f1) HASH=$( wget -q -O- "${URL}/${ISO}.DIGESTS" | grep -A 1 SHA512 | grep iso | grep -v CONTENTS | cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }