refactor: update reactos to let web_get() handle redirections

This commit is contained in:
Martin Wimpress 2024-04-19 16:33:08 +01:00 committed by Martin Wimpress
parent 81f0506bf7
commit 897aae02ab
1 changed files with 1 additions and 2 deletions

View File

@ -2675,8 +2675,7 @@ function get_pureos() {
function get_reactos() {
local HASH=""
local URL=""
URL=$(curl -Lfs "https://sourceforge.net/projects/reactos/files/latest/download" -w %{url_effective} -o /this/is/a/nonexistent/directory/$RANDOM/$RANDOM)
local URL="https://sourceforge.net/projects/reactos/files/latest/download"
echo "${URL} ${HASH}"
}