From 0220ee0dc433ad818313a9221c59e30c47d1b13e Mon Sep 17 00:00:00 2001 From: DivineMK <42614396+DivineMK@users.noreply.github.com> Date: Fri, 26 Jan 2024 12:50:48 +0100 Subject: [PATCH] Update default install order --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index e25eedf..f945e51 100755 --- a/scripts/install +++ b/scripts/install @@ -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