diff options
author | Thomas Hufschmidt <hufschmidt@hrz.uni-marburg.de> | 2019-02-20 11:50:57 +0100 |
---|---|---|
committer | Paweł Krupa <pawel@krupa.net.pl> | 2019-02-20 11:50:57 +0100 |
commit | 97526940073733f2fcdcaf9f61e17dfbcb89ace0 (patch) | |
tree | 1e0a0debed9d19bc18b41428a81979705b0cf479 /netdata-installer.sh | |
parent | c649de8e68229cdda83ea4ff33a080250b1e5497 (diff) |
Fix curl download (#5439)
* gitignore rules for generated files matched packaging content
* follow http redirects when downloading via curl (#5411)
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-x | netdata-installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh index c3abeefd16..ee7edea4ee 100755 --- a/netdata-installer.sh +++ b/netdata-installer.sh @@ -50,7 +50,7 @@ download() { run wget --progress=dot:mega -O - "${url}" >"${dest}" || fatal "Cannot download ${url}" fi elif command -v curl >/dev/null 2>&1; then - run curl "${url}" >"${dest}" || fatal "Cannot download ${url}" + run curl -L "${url}" >"${dest}" || fatal "Cannot download ${url}" else fatal "I need curl or wget to proceed, but neither is available on this system." fi |