refactor: update tinycore to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 22:23:02 +01:00 committed by Martin Wimpress
parent 866fed32c7
commit 3ff9ea5204
1 changed files with 1 additions and 1 deletions

View File

@ -2808,7 +2808,7 @@ function get_tinycore() {
elif [ "${EDITION}" == "CorePure64" ] || [ "${EDITION}" == "TinyCorePure64" ]; then elif [ "${EDITION}" == "CorePure64" ] || [ "${EDITION}" == "TinyCorePure64" ]; then
URL="http://www.tinycorelinux.net/14.x/x86_64/release" URL="http://www.tinycorelinux.net/14.x/x86_64/release"
fi fi
HASH=$(wget -q -O- "${URL}/${ISO}.md5.txt" | cut_1) HASH=$(web_pipe "${URL}/${ISO}.md5.txt" | cut_1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }