refactor: update openindiana to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 22:12:12 +01:00 committed by Martin Wimpress
parent fc95daed9f
commit 8e5ad375f3
1 changed files with 1 additions and 1 deletions

View File

@ -2553,7 +2553,7 @@ function get_openindiana(){
local URL=""
URL="https://dlc.openindiana.org/isos/hipster/${RELEASE}"
ISO="OI-hipster-${EDITION}-${RELEASE}.iso"
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" |cut_1)
HASH=$(web_pipe "${URL}/${ISO}.sha256" |cut_1)
echo "${URL}/${ISO} ${HASH}"
}
function get_opensuse() {