From ee3d432736d95c6af0b6a47dbdcfea6dbccc2f89 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 19 Apr 2024 22:47:06 +0100 Subject: [PATCH] refactor: update tuxedoos to use web_pipe() --- quickget | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index 04442eb..de3cee6 100755 --- a/quickget +++ b/quickget @@ -2849,9 +2849,9 @@ function get_tuxedo-os() { local ISO="" local URL="" local Current= - Current="$(wget -O- -q "https://os.tuxedocomputers.com/" | grep -m 1 current.iso | cut -d '=' -f 4 | cut -d '"' -f 2)" + Current="$(web_pipe "https://os.tuxedocomputers.com/" | grep -m 1 current.iso | cut -d '=' -f 4 | cut -d '"' -f 2)" URL="https://os.tuxedocomputers.com/${Current}" - HASH="$(wget -q -O- "https://os.tuxedocomputers.com/checksums/${Current}.sha256" | cut -d ' ' -f 1)" + HASH="$(web_pipe "https://os.tuxedocomputers.com/checksums/${Current}.sha256" | cut -d ' ' -f 1)" echo "${URL} ${HASH}" }