mirror of
https://github.com/denisidoro/navi.git
synced 2024-10-06 14:47:48 +03:00
Update default install order
This commit is contained in:
parent
c45b767edd
commit
0220ee0dc4
@ -251,14 +251,14 @@ install_navi() {
|
||||
|
||||
elif command_exists brew; then
|
||||
brew install navi
|
||||
|
||||
elif command_exists cargo; then
|
||||
cargo install navi
|
||||
|
||||
|
||||
elif [[ -n "$target" ]]; then
|
||||
local -r version="$(latest_version_released)"
|
||||
download_asset "$version" "$target" || error_installing
|
||||
|
||||
elif command_exists cargo; then
|
||||
cargo install navi
|
||||
|
||||
else
|
||||
error_installing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user