From 681ee3a9aa8b1632a4ed092c97f97845e345ab6c Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 19 Apr 2024 22:16:15 +0100 Subject: [PATCH] refactor: update rockylinux to use web_pipe() --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index 559bad0..18b11b4 100755 --- a/quickget +++ b/quickget @@ -2692,7 +2692,7 @@ function get_rockylinux() { local ISO="Rocky-${RELEASE}-x86_64-${EDITION}.iso" local URL="" URL="http://dl.rockylinux.org/vault/rocky/${RELEASE}/isos/x86_64" - HASH=$(wget -q -O- "${URL}/CHECKSUM" | grep "SHA256" | grep "${ISO})" | cut -d' ' -f4) + HASH=$(web_pipe "${URL}/CHECKSUM" | grep "SHA256" | grep "${ISO})" | cut -d' ' -f4) echo "${URL}/${ISO} ${HASH}" }