Ensures Homebrew is installed before running scripts so downstream projects don't have to remember to do this work.
18 lines
345 B
Bash
Executable File
18 lines
345 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
# Installs Homebrew Cask software.
|
|
|
|
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"
|
|
fi
|