refactor: update openindiana to use web_pipe()
This commit is contained in:
parent
fc95daed9f
commit
8e5ad375f3
2
quickget
2
quickget
|
@ -2553,7 +2553,7 @@ function get_openindiana(){
|
||||||
local URL=""
|
local URL=""
|
||||||
URL="https://dlc.openindiana.org/isos/hipster/${RELEASE}"
|
URL="https://dlc.openindiana.org/isos/hipster/${RELEASE}"
|
||||||
ISO="OI-hipster-${EDITION}-${RELEASE}.iso"
|
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}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
function get_opensuse() {
|
function get_opensuse() {
|
||||||
|
|
Loading…
Reference in New Issue