Bash: only do homebrew stuff if the `brew` command exists