refactor: update bodhi to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 14:14:38 +01:00 committed by Martin Wimpress
parent d3676dcdb6
commit 1afade4eda
1 changed files with 1 additions and 1 deletions

View File

@ -1926,7 +1926,7 @@ function get_bodhi() {
standard) ISO="bodhi-${RELEASE}-64.iso";; standard) ISO="bodhi-${RELEASE}-64.iso";;
*) ISO="bodhi-${RELEASE}-64-${EDITION}.iso";; *) ISO="bodhi-${RELEASE}-64-${EDITION}.iso";;
esac esac
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | cut_1) HASH=$(web_pipe "${URL}/${ISO}.sha256" | cut_1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }