refactor: update bunsenlabs to use web_pipe()
This commit is contained in:
parent
28e1abf6bd
commit
522c266ee7
2
quickget
2
quickget
|
@ -1880,7 +1880,7 @@ function get_bunsenlabs() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local ISO="beryllium-1-amd64.hybrid.iso"
|
local ISO="beryllium-1-amd64.hybrid.iso"
|
||||||
local URL="https://ddl.bunsenlabs.org/ddl"
|
local URL="https://ddl.bunsenlabs.org/ddl"
|
||||||
HASH=$(wget -q -O- "${URL}/release.sha256.txt" | head -1 | cut -d' ' -f1)
|
HASH=$(web_pipe "${URL}/release.sha256.txt" | head -1 | cut_1)
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue