From de79448b3903ac6f6ba78186634d6eb39bf0133b Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 19 Apr 2024 22:10:20 +0100 Subject: [PATCH] refactor: update netbsd to use web_pipe() --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index f99d7cf..33c4b26 100755 --- a/quickget +++ b/quickget @@ -2514,7 +2514,7 @@ function get_netbsd() { local HASH="" local ISO="NetBSD-${RELEASE}-amd64.iso" local URL="https://cdn.netbsd.org/pub/NetBSD/NetBSD-${RELEASE}/images/" - HASH=$(wget -q -O- "${URL}/MD5" | grep "${ISO}" | cut -d' ' -f4) + HASH=$(web_pipe "${URL}/MD5" | grep "${ISO}" | cut -d' ' -f4) echo "${URL}/${ISO} ${HASH}" }