refactor: update deepin to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 14:23:31 +01:00 committed by Martin Wimpress
parent da5f3c91d0
commit 00fcd9675b
1 changed files with 1 additions and 1 deletions

View File

@ -2039,7 +2039,7 @@ function get_deepin() {
EDITION="1010"
ISO="deepin-desktop-community-${EDITION}-amd64.iso"
fi
HASH=$(wget -q -O- "${URL}/SHA256SUMS" | grep "${ISO}" | cut_1)
HASH=$(web_pipe "${URL}/SHA256SUMS" | grep "${ISO}" | cut_1)
#echo "${URL}/${ISO} ${HASH}"
web_get "${URL}/${ISO}" "${VM_PATH}"
check_hash "${ISO}" "${HASH}"