refactor: update bodhi to use web_pipe()
This commit is contained in:
parent
d3676dcdb6
commit
1afade4eda
2
quickget
2
quickget
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue