refactor: update trisquel to use web_pipe()

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

View File

@ -2823,7 +2823,7 @@ function get_trisquel() {
kde) ISO="triskel_${RELEASE}_amd64.iso";; kde) ISO="triskel_${RELEASE}_amd64.iso";;
sugar) ISO="trisquel-sugar_${RELEASE}_amd64.iso";; sugar) ISO="trisquel-sugar_${RELEASE}_amd64.iso";;
esac esac
HASH=$(wget -q -O- "${URL}/${ISO}.sha1" | grep "${ISO}" | cut_1) HASH=$(web_pipe "${URL}/${ISO}.sha1" | grep "${ISO}" | cut_1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }