refactor: update devuan to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 14:16:50 +01:00 committed by Martin Wimpress
parent b2dfb55406
commit f7c88e12ba
1 changed files with 1 additions and 1 deletions

View File

@ -2055,7 +2055,7 @@ function get_devuan() {
chimaera) ISO="devuan_${RELEASE}_4.0.2_amd64_desktop-live.iso";; chimaera) ISO="devuan_${RELEASE}_4.0.2_amd64_desktop-live.iso";;
daedalus) ISO="devuan_${RELEASE}_5.0.0_amd64_desktop-live.iso";; daedalus) ISO="devuan_${RELEASE}_5.0.0_amd64_desktop-live.iso";;
esac esac
HASH=$(wget -q -O- "${URL}/SHASUMS.txt" | grep "${ISO}" | cut_1) HASH=$(web_pipe "${URL}/SHASUMS.txt" | grep "${ISO}" | cut_1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }