refactor: update bunsenlabs to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 14:12:11 +01:00 committed by Martin Wimpress
parent 28e1abf6bd
commit 522c266ee7
1 changed files with 1 additions and 1 deletions

View File

@ -1880,7 +1880,7 @@ function get_bunsenlabs() {
local HASH=""
local ISO="beryllium-1-amd64.hybrid.iso"
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}"
}