Necessary to have consistent use of `printf` especially with formatting strings and new lines. Milestone: patch
18 lines
335 B
Bash
Executable File
18 lines
335 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
# Installs Node packages.
|
|
|
|
set -o nounset
|
|
set -o errexit
|
|
set -o pipefail
|
|
IFS=$'\n\t'
|
|
|
|
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_node_packages"
|
|
|
|
if [[ -x "$SCRIPT_PATH" ]]; then
|
|
install_node
|
|
"$SCRIPT_PATH"
|
|
else
|
|
printf "%s\n" "WARNING: Node packages install script does not exist or is not executable."
|
|
fi
|