Added Homebrew installation to Homebrew sripts

Ensures Homebrew is installed before running scripts so downstream
projects don't have to remember to do this work.
This commit is contained in:
Brooke Kuhlmann
2021-03-14 11:10:18 -06:00
parent c65f06d5b8
commit dd62dad160
2 changed files with 4 additions and 0 deletions

View File

@@ -6,9 +6,11 @@ set -o nounset
set -o errexit
set -o pipefail
IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_homebrew_casks"
if [[ -x "$SCRIPT_PATH" ]]; then
install_homebrew
"$SCRIPT_PATH"
else
printf "WARNING: Homebrew Casks install script does not exist or is not executable.\n"

View File

@@ -6,9 +6,11 @@ set -o nounset
set -o errexit
set -o pipefail
IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_homebrew_formulas"
if [[ -x "$SCRIPT_PATH" ]]; then
install_homebrew
"$SCRIPT_PATH"
else
printf "WARNING: Homebrew Formulas install script does not exist or is not executable.\n"