From dbcbd12c80891e4eef3968d388c8fef66dce5e41 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sat, 20 Apr 2024 10:41:13 +0100 Subject: [PATCH] refactor: update archcraft to it can use the new web_get() --- quickget | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quickget b/quickget index 7caa291..63ff822 100755 --- a/quickget +++ b/quickget @@ -1832,8 +1832,7 @@ function get_archlinux() { function get_archcraft() { local HASH="" local URL="" - # Check where the URL redirects using curl. Output to a nonexistent directory so it's not possible to successfully download the image - URL=$(curl -Lfs "https://sourceforge.net/projects/archcraft/files/latest/download" -w %{url_effective} -o /this/is/a/nonexistent/directory/$RANDOM/$RANDOM) + URL="https://sourceforge.net/projects/archcraft/files/latest/download" echo "${URL} ${HASH}" }