mirror of
https://github.com/denisidoro/navi
synced 2024-11-23 12:03:06 +00:00
Update default install order
This commit is contained in:
parent
c45b767edd
commit
0220ee0dc4
1 changed files with 4 additions and 4 deletions
|
@ -251,14 +251,14 @@ install_navi() {
|
||||||
|
|
||||||
elif command_exists brew; then
|
elif command_exists brew; then
|
||||||
brew install navi
|
brew install navi
|
||||||
|
|
||||||
elif command_exists cargo; then
|
|
||||||
cargo install navi
|
|
||||||
|
|
||||||
elif [[ -n "$target" ]]; then
|
elif [[ -n "$target" ]]; then
|
||||||
local -r version="$(latest_version_released)"
|
local -r version="$(latest_version_released)"
|
||||||
download_asset "$version" "$target" || error_installing
|
download_asset "$version" "$target" || error_installing
|
||||||
|
|
||||||
|
elif command_exists cargo; then
|
||||||
|
cargo install navi
|
||||||
|
|
||||||
else
|
else
|
||||||
error_installing
|
error_installing
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue