refactor: update solus to use web_pipe()

This commit is contained in:
Martin Wimpress 2024-04-19 22:18:49 +01:00 committed by Martin Wimpress
parent e430c3fbe3
commit 4a52480fe6
1 changed files with 1 additions and 1 deletions

View File

@ -2761,7 +2761,7 @@ function get_solus() {
local HASH="" local HASH=""
local ISO="Solus-${RELEASE}-${EDITION}.iso" local ISO="Solus-${RELEASE}-${EDITION}.iso"
local URL="https://mirrors.rit.edu/solus/images/${RELEASE}" local URL="https://mirrors.rit.edu/solus/images/${RELEASE}"
HASH=$(wget -q -O- "${URL}/${ISO}.sha256sum" | cut_1) HASH=$(web_pipe "${URL}/${ISO}.sha256sum" | cut_1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }