refactor: update primtux to use web_pipe()
This commit is contained in:
parent
f35524f8a3
commit
2e9b650711
2
quickget
2
quickget
|
@ -2653,7 +2653,7 @@ function get_primtux() {
|
||||||
local ISO=""
|
local ISO=""
|
||||||
ISO="PrimTux${RELEASE}-amd64-${EDITION}.iso"
|
ISO="PrimTux${RELEASE}-amd64-${EDITION}.iso"
|
||||||
URL="https://sourceforge.net/projects/primtux/files/Distribution"
|
URL="https://sourceforge.net/projects/primtux/files/Distribution"
|
||||||
HASH=$(wget -q -O- "${URL}/${ISO}.md5" | grep "${ISO}" | cut_1)
|
HASH=$(web_pipe "${URL}/${ISO}.md5" | grep "${ISO}" | cut_1)
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue