refactor: update antix to use web_pipe()
This commit is contained in:
parent
00fcd9675b
commit
e9fe08f36a
2
quickget
2
quickget
|
@ -1809,7 +1809,7 @@ function get_antix() {
|
||||||
URL="${URL_runit}"
|
URL="${URL_runit}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
HASH=$(wget -q -O- ${URL}/README.txt | grep "${ISO}" | cut -d' ' -f1 | head -1)
|
HASH=$(web_pipe "${URL}/README.txt" | grep "${ISO}" | cut -d' ' -f1 | head -1)
|
||||||
echo "${URL}/${ISO} ${HASH}"
|
echo "${URL}/${ISO} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue