From 57b55f5e22bcbeaf63d3583048f08de3145d276b Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 19 Apr 2024 22:13:26 +0100 Subject: [PATCH] refactor: update parrot to use web_pipe() --- quickget | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index dc9f85e..4c60097 100755 --- a/quickget +++ b/quickget @@ -2598,8 +2598,8 @@ function get_parrotsec() { local URL="" ISO="Parrot-${EDITION}-${RELEASE}_amd64.iso" URL="https://download.parrot.sh/parrot/iso/${RELEASE}" - HASH="$(wget -q -O- ${URL}/signed-hashes.txt | grep ${ISO} | cut -d' ' -f1)" - echo "${URL}/${ISO}" "${HASH}" + HASH="$(web_pipe "${URL}/signed-hashes.txt" | grep "${ISO}" | cut_1)" + echo "${URL}/${ISO} ${HASH}" } function get_peppermint() {