refactor: update antix to use web_pipe()

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

View File

@ -1809,7 +1809,7 @@ function get_antix() {
URL="${URL_runit}" URL="${URL_runit}"
;; ;;
esac esac
HASH=$(wget -q -O- ${URL}/README.txt | grep "${ISO}" | cut -d' ' -f1 | head -1) HASH=$(web_pipe "${URL}/README.txt" | grep "${ISO}" | cut -d' ' -f1 | head -1)
echo "${URL}/${ISO} ${HASH}" echo "${URL}/${ISO} ${HASH}"
} }