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 default url #60

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

Conversation

aanastasiou
Copy link

@aanastasiou aanastasiou commented Dec 15, 2021

The latest version of ineo actually fails to install via the method indicated in the readme.md:

    curl -sSL https://raw.githubusercontent.com/cohesivestack/ineo/v2.1.0/ineo | bash -s install

If you examine ~/.ineo/bin/ineo you will find that its file size is 0 (at least in my case on Ubuntu 21.04 it was).

The "problem" is ofcourse on line 362 because the installation in this case (where the script is downloaded and sent to bash) is not started by ineo and is "re-downloaded" from the hostname (which is set on line 48, which now is not pointing to the correct URL, which fails silently, which results in an ineo with 0 file size :/ ).

This PR corrects that so that the latest version available on github is picked up.

This might not be what you are after though (because the last version on github might be the last "development" version) and it might be worth the "trouble" to set up github releases (which makes it even easier to pick up whatever file the latest release would point to).

This addresses issues:
#56 #57 #58

Hope this 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

Successfully merging this pull request may close these issues.

1 participant