From: Jon Nall Date: Sat, 10 Mar 2018 03:52:04 +0000 (-0800) Subject: Fixed exit status check for brew X-Git-Url: https://git.donarmstrong.com/?p=qmk_firmware.git;a=commitdiff_plain;h=0b82d08e8dd3cf7c887489a0e696b2cac9ffc4d9 Fixed exit status check for brew --- diff --git a/util/macos_install.sh b/util/macos_install.sh index 551b84b5a..ec8502985 100755 --- a/util/macos_install.sh +++ b/util/macos_install.sh @@ -1,6 +1,6 @@ #!/bin/bash -if brew --version 2>&1 > /dev/null; then +if ! brew --version 2>&1 > /dev/null; then echo "Error! Homebrew not installed or broken!" echo -n "Would you like to install homebrew now? [y/n] " while read ANSWER; do