refactor: update linuxlite to use web_pipe()
This commit is contained in:
parent
3b01fb26dd
commit
86ed099283
2
quickget
2
quickget
|
@ -2300,7 +2300,7 @@ function get_linuxlite() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local ISO="linux-lite-${RELEASE}-64bit.iso"
|
local ISO="linux-lite-${RELEASE}-64bit.iso"
|
||||||
local URL="https://sourceforge.net/projects/linux-lite/files/${RELEASE}"
|
local URL="https://sourceforge.net/projects/linux-lite/files/${RELEASE}"
|
||||||
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