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 /packaging/installer/netdata-updater.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 'packaging/installer/netdata-updater.sh')
-rw-r--r-- | packaging/installer/netdata-updater.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh index 1ff47530d3..f6a9492f46 100644 --- a/packaging/installer/netdata-updater.sh +++ b/packaging/installer/netdata-updater.sh @@ -37,7 +37,7 @@ download() { if command -v wget >/dev/null 2>&1; then wget -O - "${url}" >"${dest}" 2>&3 || echo >&2 "Cannot download ${url}" >&3 2>&3 elif command -v curl >/dev/null 2>&1; then - curl "${url}" >"${dest}" 2>&3 || echo "Cannot download ${url}" >&3 2>&3 + curl -L "${url}" >"${dest}" 2>&3 || echo "Cannot download ${url}" >&3 2>&3 else failed "curl or wget is needed to proceed, but neither is available on this system." fi |