-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[cli] add package manager installation method #15768
base: main
Are you sure you want to change the base?
Conversation
⏱️ 5s total CI duration on this PR
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, has someone been adding it to package managers?
If the binary locates at /usr/bin, refuse to use `aptos update aptos`, and redirect to package manager. This might be merged with the brew method.
Although not official on Arch Linux, it has been in the Arch Linux User Repository (AUR) and Arch Linux CN (A third-party binary repo). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ Forge suite
|
✅ Forge suite
|
Description
If the binary locates at /usr/bin, refuse to use
aptos update aptos
, and redirect to package manager.How Has This Been Tested?
cargo build --release -p aptos
with a old version patched like 6.0.0sudo mv target/release/aptos /usr/bin/aptos
aptos update aptos
Key Areas to Review
This might be merged with the brew method.
Type of Change
Which Components or Systems Does This Change Impact?
Checklist