mirror of
https://github.com/denisidoro/navi
synced 2024-11-21 19:13:07 +00:00
Merge pull request #875 from DivineMK/master
Update default install order
This commit is contained in:
commit
f1cbed6d07
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