chore: remove unused variable

This commit is contained in:
Martin Wimpress 2024-04-19 14:25:27 +01:00 committed by Martin Wimpress
parent f27882926a
commit 8f20ae1e5d
1 changed files with 0 additions and 1 deletions

View File

@ -1825,7 +1825,6 @@ function get_archlinux() {
function get_archcraft() {
local HASH=""
local URL=""
local TMPURL=""
# 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)
echo "${URL} ${HASH}"