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

wget-based installation will fail. #1

Open
IngwiePhoenix opened this issue Sep 20, 2022 · 0 comments
Open

wget-based installation will fail. #1

IngwiePhoenix opened this issue Sep 20, 2022 · 0 comments

Comments

@IngwiePhoenix
Copy link

I had a look at index.sh to see how the latest version is installed and how I could automate the installation into /usr/local/bin. Whilst doing so, I noticed that the wget-variant would fail, as the downloaded index.html file is never read; wget --quiet does not print to stdout :)

Whilst on that note, aria2c - albeit nieche - might be a nice oalternative.

For determining the version:

aria2c -q --stderr=true $URL || fail
_ver=(cat index.html)
rm index.html

For downloading the bundle:

aria2c -q --stderr=true -o $filename $url

Hope it helps! =)

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