mirror of
https://github.com/denisidoro/navi
synced 2024-11-22 03:23:05 +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
|
@ -252,13 +252,13 @@ 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