refactor: update garuda to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 16:39:59 +01:00 committed by Martin Wimpress
parent 897aae02ab
commit 6662ab1740
1 changed files with 1 additions and 1 deletions

View File

@ -2189,7 +2189,7 @@ function get_garuda() {
local ISO="" local ISO=""
local URL="https://iso.builds.garudalinux.org/iso/latest/garuda" local URL="https://iso.builds.garudalinux.org/iso/latest/garuda"
ISO=${EDITION}/latest.iso ISO=${EDITION}/latest.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}"
} }