Merge pull request #875 from DivineMK/master

Update default install order
This commit is contained in:
Denis Isidoro 2024-01-26 15:44:16 -03:00 committed by GitHub
commit f1cbed6d07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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