diff options
| author | Florian Pritz <bluewind@xinu.at> | 2012-07-31 19:52:09 -0300 |
|---|---|---|
| committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-08-01 20:16:45 -0300 |
| commit | a2d2022ccf3e24b4083d887741f13e826887e0a4 (patch) | |
| tree | 5db26732952d9f82e4548456ab7a54bdebf05f16 | |
| parent | e2eca412cf3867b4e3695d8caab2006b159fb731 (diff) | |
| download | archiso-a2d2022ccf3e24b4083d887741f13e826887e0a4.tar.gz archiso-a2d2022ccf3e24b4083d887741f13e826887e0a4.tar.bz2 | |
archiso_pxe_http: curl should follow redirects
Signed-off-by: Florian Pritz <bluewind@xinu.at>
| -rw-r--r-- | archiso/hooks/archiso_pxe_http | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/hooks/archiso_pxe_http b/archiso/hooks/archiso_pxe_http index ae56210..32e8ab0 100644 --- a/archiso/hooks/archiso_pxe_http +++ b/archiso/hooks/archiso_pxe_http @@ -19,7 +19,7 @@ _curl_get() { local _dst="${2}" msg ":: Downloading '${_url}'" - if ! curl -f -o "/run/archiso/httpspace/${archisobasedir}${_dst}/${_url##*/}" --create-dirs "${_url}"; then + if ! curl -L -f -o "/run/archiso/httpspace/${archisobasedir}${_dst}/${_url##*/}" --create-dirs "${_url}"; then echo "ERROR: Downloading '${_url}'" echo " Falling back to interactive prompt" echo " You can try to fix the problem manually, log out when you are finished" |
