refactor: update reactos to let web_get() handle redirections
This commit is contained in:
parent
81f0506bf7
commit
897aae02ab
3
quickget
3
quickget
|
@ -2675,8 +2675,7 @@ function get_pureos() {
|
||||||
|
|
||||||
function get_reactos() {
|
function get_reactos() {
|
||||||
local HASH=""
|
local HASH=""
|
||||||
local URL=""
|
local URL="https://sourceforge.net/projects/reactos/files/latest/download"
|
||||||
URL=$(curl -Lfs "https://sourceforge.net/projects/reactos/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