Files
mac_os/bin/install_homebrew_casks
Brooke Kuhlmann 76b193dede Refactored bin script printing
Necessary to have consistent use of `printf` especially with formatting strings and new lines.

Milestone: patch
2024-02-25 08:41:48 -07:00

18 lines
350 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 "%s\n" "WARNING: Homebrew Casks install script does not exist or is not executable."
fi