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

Should specify wget requirements. #20

Open
xiahualiu opened this issue Sep 25, 2024 · 0 comments
Open

Should specify wget requirements. #20

xiahualiu opened this issue Sep 25, 2024 · 0 comments

Comments

@xiahualiu
Copy link

go-installer/go.sh

Lines 90 to 94 in 6a4dc67

latest_version_link="$go_website$(
wget -qO- "$go_website/dl/" | # get the HTML of golang page
grep -o "$link_regex" | # select installation links
head -1 # only get the first link i.e.(latest version)
)"

You used wget.

Unlike curl, wget is not factory installed on many Linux distributions. You should list it out as a requirement on README.md.

Or use curl instead.

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

No branches or pull requests

1 participant