summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDivineMK <42614396+DivineMK@users.noreply.github.com>2024-01-26 12:50:48 +0100
committerGitHub <noreply@github.com>2024-01-26 12:50:48 +0100
commit0220ee0dc433ad818313a9221c59e30c47d1b13e (patch)
treeae65d40eaeecd44641ad22e9ef93b836d23c0f5b
parentc45b767edd1c751691d353622ae0ad7336f94ab7 (diff)
Update default install order
-rwxr-xr-xscripts/install8
1 files 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