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

Add support for both curl and wget in installation process #21

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

Conversation

HarryVasanth
Copy link

This PR enables installer script to support both curl and wget for downloading Go and addresses the issue where wget is not pre-installed on some Linux distributions:

The changes include:

  1. Added a new function get_download_command() to detect and use either curl or wget.
  2. Modified the find_version_link() function to use the available download command.
  3. Updated the install_go() function to handle downloads with either curl or wget.
  4. Updated the README.md to reflect the new requirements and remove wget-specific mentions.

Closes #20

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.

Should specify wget requirements.
1 participant