install_mac: update brew if check to if not

This commit is contained in:
0xmachos
2018-03-25 12:02:15 +01:00
parent 0d26f9f0bc
commit c240d2aae0

View File

@@ -121,7 +121,7 @@ install_mac () {
autoconf ncurses automake libtool \
bison wget)
if command_exists brew; then
if ! command_exists brew; then
fatal "Homebrew (https://brew.sh/) required to install dependencies"
fi