refactor: update linuxmint to use web_pipe()
This commit is contained in:
parent
86ed099283
commit
01aa720419
2
quickget
2
quickget
|
@ -2309,7 +2309,7 @@ function get_linuxmint() {
|
|||
local HASH=""
|
||||
local ISO="linuxmint-${RELEASE}-${EDITION}-64bit.iso"
|
||||
local URL="https://mirror.bytemark.co.uk/linuxmint/stable/${RELEASE}"
|
||||
HASH=$(wget -q -O- "${URL}/sha256sum.txt" | grep "${ISO}" | cut_1)
|
||||
HASH=$(web_pipe "${URL}/sha256sum.txt" | grep "${ISO}" | cut_1)
|
||||
echo "${URL}/${ISO} ${HASH}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue