Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
archiso
Commits
a2d2022c
Commit
a2d2022c
authored
Jul 31, 2012
by
Florian Pritz
Committed by
Gerardo Exequiel Pozzi
Aug 01, 2012
Browse files
archiso_pxe_http: curl should follow redirects
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
e2eca412
Changes
1
Hide whitespace changes
Inline
Side-by-side
archiso/hooks/archiso_pxe_http
View file @
a2d2022c
...
...
@@ -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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment