refactor: update lmde to use web_pipe()
This commit is contained in:
parent
01aa720419
commit
404661abec
2
quickget
2
quickget
|
@ -2318,7 +2318,7 @@ function get_lmde() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local ISO="lmde-${RELEASE}-${EDITION}-64bit.iso"
|
local ISO="lmde-${RELEASE}-${EDITION}-64bit.iso"
|
||||||
local URL="https://mirror.bytemark.co.uk/linuxmint/debian"
|
local URL="https://mirror.bytemark.co.uk/linuxmint/debian"
|
||||||
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}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue