Forráskód Böngészése

Fixed exit status check for brew

Jon Nall 7 éve
szülő
commit
0b82d08e8d
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      util/macos_install.sh

+ 1 - 1
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