2nd attempt at OracleLinux HASH checking

pull/262/head
Charles Hood 3 years ago committed by Martin Wimpress
parent f7ead7e815
commit 8df11258f0
  1. 2
      quickget

@ -1056,7 +1056,7 @@ function get_oraclelinux() {
ISO="OracleLinux-R${majorver}-U${minorver}-${arch}-dvd.iso" ISO="OracleLinux-R${majorver}-U${minorver}-${arch}-dvd.iso"
URL="${baseurl}/${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}" web_get "${URL}" "${VM_PATH}"
check_hash "${ISO}" "${HASH}" check_hash "${ISO}" "${HASH}"

Loading…
Cancel
Save