Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] Move to curl and shows errors on fetch of script #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

NigelGreenway
Copy link

I'm proposing removing the use of wget for two reasons:

  • Using wget was set to --quiet which hides an error message around
    using the --no-check-certificate but users can't see that. cURL works
    and doesn't need to have any extra flags passed to the command.

  • wget is not installed as standard on macs where cURL is, alternatively
    I'm happy for this to be declined and add an error on it being missing as
    a pre-install check? This is possibly causing issues for others installing
    on the latest versions of macOS too.

Nigel Greenway added 2 commits April 14, 2021 09:16
I'm proposing removing the use of wget for two reasons:

 - Using wget was set to `--quiet` which hides an error message around
using the `--no-check-certificate` but users can't see that. cURL works
and doesn't need to have any extra flags passed to the command.

 - wget is not installed as standard on macs where cURL is, alternatively
I'm happy for this to be declined and add an error on it being missing as
a pre-install check? This is possibly causing issues for others installing
on the latest versions of macOS too.
Using `install.sh` is ambiuguous for consumption and could be used
by other installation scripts.

I've renamed to allow the user to identify the installation script
easier in order to delete it if they feel they need to.
@dereckson
Copy link
Contributor

wget is not installed as standard on macs where cURL is
On most Linux distro, that's the other way around

On FreeBSD, neither is installed, there is a fetch utility.

It seems a reasonable requirement to expect people to have wget on every platform. In another hand, most automatic web installation offers curl shell script | shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants