chore: remove unused variable
This commit is contained in:
parent
f27882926a
commit
8f20ae1e5d
1
quickget
1
quickget
|
@ -1825,7 +1825,6 @@ function get_archlinux() {
|
||||||
function get_archcraft() {
|
function get_archcraft() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local URL=""
|
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
|
# 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=$(curl -Lfs "https://sourceforge.net/projects/archcraft/files/latest/download" -w %{url_effective} -o /this/is/a/nonexistent/directory/$RANDOM/$RANDOM)
|
||||||
echo "${URL} ${HASH}"
|
echo "${URL} ${HASH}"
|
||||||
|
|
Loading…
Reference in New Issue