refactor: update ghostbsd to use web_pipe()
This commit is contained in:
parent
35a80ef6b9
commit
5dd44c6fe5
2
quickget
2
quickget
|
@ -2224,7 +2224,7 @@ function get_ghostbsd() {
|
||||||
mate) ISO="GhostBSD-${RELEASE}.iso";;
|
mate) ISO="GhostBSD-${RELEASE}.iso";;
|
||||||
xfce) ISO="GhostBSD-${RELEASE}-XFCE.iso";;
|
xfce) ISO="GhostBSD-${RELEASE}-XFCE.iso";;
|
||||||
esac
|
esac
|
||||||
HASH=$(wget -q -O- "${URL}/${ISO}.sha256" | grep "${ISO}" | cut -d' ' -f4)
|
HASH=$(web_pipe "${URL}/${ISO}.sha256" | grep "${ISO}" | cut -d' ' -f4)
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue