refactor: update garuda to use web_pipe()
This commit is contained in:
parent
897aae02ab
commit
6662ab1740
2
quickget
2
quickget
|
@ -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}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue