From 8df11258f00133eec9c4a56ccd8f959e938eee39 Mon Sep 17 00:00:00 2001 From: Charles Hood Date: Tue, 16 Nov 2021 18:06:09 -0500 Subject: [PATCH] 2nd attempt at OracleLinux HASH checking --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index b45bfc5..1c6ac31 100755 --- a/quickget +++ b/quickget @@ -1056,7 +1056,7 @@ function get_oraclelinux() { ISO="OracleLinux-R${majorver}-U${minorver}-${arch}-dvd.iso" URL="${baseurl}/${ISO}" - HASH=$(wget -q -O- "${hashurl}" | cut -d' ' -f1) + HASH=$(wget -q -O- "${hashurl}" | grep "${ISO}" | cut -d' ' -f1) web_get "${URL}" "${VM_PATH}" check_hash "${ISO}" "${HASH}"