cleanup: shfmt, shellcheck, and whitespace
[webi-installers/.git] / brew / install.sh
index 6668e3e5e539328814e538cb095b08b3a38c6781..76469b55679d39917066d1f60801089d0e2c2ee8 100644 (file)
@@ -7,9 +7,8 @@ function _install_brew() {
     # Straight from https://brew.sh
     #/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
 
-    needs_xcode="$(/usr/bin/xcode-select -p >/dev/null 2> /dev/null || echo "true")"
-    if [[ -n "${needs_xcode}" ]]
-    then
+    needs_xcode="$(/usr/bin/xcode-select -p > /dev/null 2> /dev/null || echo "true")"
+    if [[ -n ${needs_xcode} ]]; then
         echo ""
         echo ""
         echo "ERROR: Run this command to install XCode Command Line Tools first:"