pm icon indicating copy to clipboard operation
pm copied to clipboard

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

Open NigelGreenway opened this issue 3 years ago • 1 comments

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.

NigelGreenway avatar Apr 14 '21 08:04 NigelGreenway

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.

dereckson avatar Feb 23 '22 22:02 dereckson