From 92da03aa90243d1fabf9c5a4e5b0e4a8a6be5ae4 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 17 Apr 2024 03:48:51 +0100 Subject: [PATCH] fix: correct URL for downloading Rocky Linux --- quickget | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/quickget b/quickget index b2d2f0d..35e5a33 100755 --- a/quickget +++ b/quickget @@ -2731,11 +2731,7 @@ function get_rockylinux() { local ISO="Rocky-${RELEASE}-x86_64-${EDITION}.iso" local URL="" - case ${RELEASE} in - 9.1) URL="https://download.rockylinux.org/pub/rocky/9/isos/x86_64";; - 8.7) URL="https://download.rockylinux.org/pub/rocky/8/isos/x86_64";; - *) URL="http://dl.rockylinux.org/vault/rocky/${RELEASE}/isos/x86_64";; - esac + URL="http://dl.rockylinux.org/vault/rocky/${RELEASE}/isos/x86_64" HASH=$(wget -q -O- "${URL}/CHECKSUM" | grep "SHA256" | grep "${ISO})" | cut -d' ' -f4) echo "${URL}/${ISO} ${HASH}" }