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

Debian install dua error #127

Closed
zhangsan6661 opened this issue May 12, 2022 · 5 comments
Closed

Debian install dua error #127

zhangsan6661 opened this issue May 12, 2022 · 5 comments

Comments

@zhangsan6661
Copy link

readme file other linux version script error

raw sample:
curl -LSfs https://raw.githubusercontent.com/byron/dua-cli/master/ci/install.sh |
sh -s -- --git byron/dua-cli --target x86_64-unknown-linux-musl --crate dua

first: path lower byron.
can't find path 404
byron/dua-cli ====> Byron/dua-cli

second: release version can't find latest path

 curl -LSfs https://raw.githubusercontent.com/byron/dua-cli/master/ci/install.sh | \
sh -s -- --git byron/dua-cli --target x86_64-unknown-linux-musl --crate dua

=====>OK
curl -LSfs https://raw.githubusercontent.com/byron/dua-cli/master/ci/install.sh |
sh -s -- --git Byron/dua-cli --target x86_64-unknown-linux-musl --tag v2.17.4 --crate dua

@zhangsan6661 zhangsan6661 changed the title Debian install lua error Debian install dua error May 12, 2022
@Byron
Copy link
Owner

Byron commented May 13, 2022

The instructions in the README changed to compensate:

curl -LSfs https://raw.githubusercontent.com/byron/dua-cli/master/ci/install.sh | \
    sh -s -- --git byron/dua-cli --crate dua --tag v2.17.2

I didn't get around fixing the install script after GitHub broke it apparently, and would love to have an alternative alltogether.

@Byron
Copy link
Owner

Byron commented May 13, 2022

Closing as the issue is fixed in the README.

@Byron Byron closed this as completed May 13, 2022
@zhangsan6661
Copy link
Author

--git byron/dua-cli
--git Byron/dua-cli

repository name fist letter is Upper , when lower url will happen 404

@zhangsan6661
Copy link
Author

Xnip2022-05-13_09-38-53

release version tag update latest also ok
dua-latest-x86_64-unknown-linux-musl.tar.gz

Byron added a commit that referenced this issue May 13, 2022
Byron added a commit that referenced this issue May 13, 2022
@Byron
Copy link
Owner

Byron commented May 13, 2022

Thanks a lot for pointing this out! It's amazing that this ever work, maybe it's a change on GitHub, who knows.

I have adjusted the script once again, but but --tag latest didn't work for me at all. Am I missing something? It would be great not to be able to avoid hardcoding a version.

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

2 participants