1
0
Fork 0

Fixed exit status check for brew

This commit is contained in:
Jon Nall 2018-03-09 19:52:04 -08:00 committed by skullydazed
parent fdeb7f7665
commit 0b82d08e8d

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/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 "Error! Homebrew not installed or broken!"
echo -n "Would you like to install homebrew now? [y/n] " echo -n "Would you like to install homebrew now? [y/n] "
while read ANSWER; do while read ANSWER; do