Reduced stating the obvious (in many cases) in order to improve readability and reduce lines of code.
16 lines
332 B
Bash
Executable File
16 lines
332 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
# Sets up and launches (if necessary) installed software.
|
|
|
|
set -o nounset
|
|
set -o errexit
|
|
set -o pipefail
|
|
IFS=$'\n\t'
|
|
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/setup_software"
|
|
|
|
if [[ -x "$SCRIPT_PATH" ]]; then
|
|
"$SCRIPT_PATH"
|
|
else
|
|
printf "WARNING: Software setup script does not exist or is not executable.\n"
|
|
fi
|