diff --git a/bootstrap.sh b/bootstrap.sh index f67a990..b9ea010 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -42,7 +42,7 @@ function _mac_os_x () { echo "Operating System identified as Mac OS X" # Check for Homebrew - command brew > /dev/null 2>&1 + command brew help > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "Homebrew not installed, installing..." @@ -50,7 +50,7 @@ function _mac_os_x () { fi # Check SaltStack - command salt-call > /dev/null 2>&1 + command salt-call -h > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "SaltStack not installed, installing..." @@ -64,7 +64,7 @@ function _linux () { echo "Operating System identified as Linux" # Check Saltstack - command salt-call > /dev/null 2>&1 + command salt-call -h > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "SaltStack not installed, installing..."