mirror of
https://github.com/chocolate-doom/chocpkg.git
synced 2024-11-10 07:11:39 +00:00
Allow curl to follow redirects
Enables downloads from GitHub.
This commit is contained in:
parent
bf010b4596
commit
7c5411a573
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ chocpkg::curl() {
|
|||
url=$1
|
||||
|
||||
if chocpkg::have_tool curl; then
|
||||
curl "$url"
|
||||
curl -L "$url"
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue