refactor: update sparkylinux to use web_pipe()
This commit is contained in:
parent
4a52480fe6
commit
55a4c85820
2
quickget
2
quickget
|
@ -2776,7 +2776,7 @@ function get_sparkylinux() {
|
||||||
minimalgui) URL="https://sourceforge.net/projects/sparkylinux/files/base";;
|
minimalgui) URL="https://sourceforge.net/projects/sparkylinux/files/base";;
|
||||||
*) URL="https://sourceforge.net/projects/sparkylinux/files/${EDITION}";;
|
*) URL="https://sourceforge.net/projects/sparkylinux/files/${EDITION}";;
|
||||||
esac
|
esac
|
||||||
HASH=$(wget -q -O- "${URL}/${ISO}.allsums.txt" | head -2 | grep 'iso' | cut_1)
|
HASH=$(web_pipe "${URL}/${ISO}.allsums.txt" | head -2 | grep 'iso' | cut_1)
|
||||||
echo "${URL}/${ISO}" "${HASH}"
|
echo "${URL}/${ISO}" "${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue