From 5eb4b39c81937b3c24bdbbf2a5ff56764c7c4711 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 19 Apr 2024 22:13:00 +0100 Subject: [PATCH] refactor: update opensuse to use web_pipe() --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index 9569aa8..dc9f85e 100755 --- a/quickget +++ b/quickget @@ -2573,7 +2573,7 @@ function get_opensuse() { ISO="openSUSE-Leap-${RELEASE}-DVD-x86_64-Current.iso" URL="https://download.opensuse.org/distribution/leap/${RELEASE}/iso" fi - HASH=$(wget -q -O- "${URL}/${ISO}.sha256" |awk '{if(NR==4) print $0}'|cut_1) + HASH=$(web_pipe "${URL}/${ISO}.sha256" | awk '{if(NR==4) print $0}' | cut_1) echo "${URL}/${ISO} ${HASH}" }