Skip to content

Fix curl download#5439

Merged
paulfantom merged 2 commits intonetdata:masterfrom
Hufschmidt:fix-curl-download
Feb 20, 2019
Merged

Fix curl download#5439
paulfantom merged 2 commits intonetdata:masterfrom
Hufschmidt:fix-curl-download

Conversation

@Hufschmidt
Copy link
Contributor

@Hufschmidt Hufschmidt commented Feb 20, 2019

Summary

This should fix a minor installation/update issue when only curl is available during install/update as described in #5411.

Component Name
  • Installer
  • Updater
  • Kickstart
Additional Information

This PR adds the -L argument to curl-calls in all instances of download() used by the netdata-installer.sh, netdata-updater.sh and kickstart*.sh scripts. This should cover all occurrences.

I was wondering, why do kickstart.sh and kickstart-static64.sh not include/source functions.sh so we could share more code?
EDIT: Ah ok, this is the single-file downloader/installer, makes sence! 😄

Additionally I noticed that the .gitignore rules for the auto-generated netdata-updater.sh and netdata-uninstaller.sh also matched files under /packaging/installer. This is not a huge issue, since .gitignore only affects uncommited files but might cause some headaches later down the line.

Note: There might be more entries that could be changed to paths relative to the .gitignore file.

@CLAassistant
Copy link

CLAassistant commented Feb 20, 2019

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@cakrit cakrit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I haven't tested, but I can't imagine what could go wrong.

@paulfantom paulfantom merged commit 9752694 into netdata:master Feb 20, 2019
@netdatabot netdatabot added the area/packaging Packaging and operating systems support label Feb 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/packaging Packaging and operating systems support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants