Update default install order

This commit is contained in:
DivineMK 2024-01-26 12:50:48 +01:00 committed by GitHub
parent c45b767edd
commit 0220ee0dc4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -252,13 +252,13 @@ 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