refactor: update slitaz to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 22:18:27 +01:00 committed by Martin Wimpress
parent ec142f6cdc
commit e430c3fbe3
1 changed files with 1 additions and 1 deletions

View File

@ -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}"
} }