Skip to content

Commit 8403317

Browse files
committed
Fix check command validation
1 parent cb18707 commit 8403317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/system-check-command-installed.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ system_check_command_installed()
3939
[[ "$DEBUG" == true ]] && echo "Checking if command '$LOCAL_COMMAND' is installed."
4040

4141
if [[ ! -x "$(command -v "$LOCAL_COMMAND")" ]]; then
42-
COMMAND_IS_INSTALLED=true
43-
else
4442
COMMAND_IS_INSTALLED=false
43+
else
44+
COMMAND_IS_INSTALLED=true
4545
fi
4646
}
4747

0 commit comments

Comments
 (0)