Skip to content

Commit

Permalink
Fix check command validation
Browse files Browse the repository at this point in the history
  • Loading branch information
evertramos committed May 14, 2023
1 parent cb18707 commit 8403317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/system-check-command-installed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ system_check_command_installed()
[[ "$DEBUG" == true ]] && echo "Checking if command '$LOCAL_COMMAND' is installed."

if [[ ! -x "$(command -v "$LOCAL_COMMAND")" ]]; then
COMMAND_IS_INSTALLED=true
else
COMMAND_IS_INSTALLED=false
else
COMMAND_IS_INSTALLED=true
fi
}

0 comments on commit 8403317

Please sign in to comment.