refactor: update easyos to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 14:17:39 +01:00 committed by Martin Wimpress
parent d0c5d83cbb
commit 1a25318d89
1 changed files with 1 additions and 1 deletions

View File

@ -2080,7 +2080,7 @@ function get_easyos() {
YEAR="2024";;
esac
URL="https://distro.ibiblio.org/easyos/amd64/releases/kirkstone/${YEAR}/${RELEASE}"
HASH=$(wget -q -O- "${URL}/md5.sum.txt" | cut -d' ' -f1)
HASH=$(web_pipe "${URL}/md5.sum.txt" | cut_1)
echo "${URL}/${ISO} ${HASH}"
}