refactor: update slitaz to use web_pipe()
This commit is contained in:
parent
ec142f6cdc
commit
e430c3fbe3
2
quickget
2
quickget
|
@ -2752,7 +2752,7 @@ function get_slitaz() {
|
||||||
preferred) ISO="slitaz-rolling";;
|
preferred) ISO="slitaz-rolling";;
|
||||||
*) ISO="slitaz-rolling-${RELEASE}";;
|
*) ISO="slitaz-rolling-${RELEASE}";;
|
||||||
esac
|
esac
|
||||||
HASH=$(wget -q -O- "${URL}/${ISO}.md5" | cut_1)
|
HASH=$(web_pipe "${URL}/${ISO}.md5" | cut_1)
|
||||||
echo "${URL}/${ISO}.iso ${HASH}"
|
echo "${URL}/${ISO}.iso ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue