forked from mirrored-repos/manjaro-tools
Allow for site redirection
Sites (like sourceforge.com) use redirection. The added parameter will take that into account.
This commit is contained in:
parent
ed0903bf3f
commit
37c3daa526
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ miso_pxe_http_mount_handler () {
|
|||
local _src=${miso_http_srv}${misobasedir}/${arch}
|
||||
|
||||
for sfs in livefs mhwdfs desktopfs rootfs;do
|
||||
if [[ ! -z "$( curl -s --head "${_src}/${sfs}.sfs" | grep "OK" )" ]]; then
|
||||
if [[ ! -z "$( curl -L -s --head "${_src}/${sfs}.sfs" | grep "OK" )" ]]; then
|
||||
_curl_get "${_src}/${sfs}.sfs" "/${arch}"
|
||||
|
||||
if [[ "${checksum}" == "y" ]]; then
|
||||
|
|
Loading…
Reference in a new issue