From e9476d6a6af32077e1c4cf414337326e354a8ccc Mon Sep 17 00:00:00 2001 From: Brooke Kuhlmann Date: Sun, 14 Mar 2021 11:12:05 -0600 Subject: [PATCH] Refactored install scripts to separate script paths Minor improvement to readability so the script path stands out as being configuragble versus being grouped with the default Bash settings. --- bin/apply_basic_settings | 1 + bin/apply_default_settings | 1 + bin/install_app_store | 1 + bin/install_applications | 1 + bin/install_extensions | 1 + bin/restore_backup | 1 + bin/setup_software | 1 + 7 files changed, 7 insertions(+) diff --git a/bin/apply_basic_settings b/bin/apply_basic_settings index decf1bc..ecf63ff 100755 --- a/bin/apply_basic_settings +++ b/bin/apply_basic_settings @@ -6,6 +6,7 @@ set -o nounset set -o errexit set -o pipefail IFS=$'\n\t' + SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/apply_basic_settings" if [[ -x "$SCRIPT_PATH" ]]; then diff --git a/bin/apply_default_settings b/bin/apply_default_settings index cde08f8..e7f1846 100755 --- a/bin/apply_default_settings +++ b/bin/apply_default_settings @@ -6,6 +6,7 @@ set -o nounset set -o errexit set -o pipefail IFS=$'\n\t' + SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/apply_default_settings" if [[ -x "$SCRIPT_PATH" ]]; then diff --git a/bin/install_app_store b/bin/install_app_store index c0dfaa7..e562d58 100755 --- a/bin/install_app_store +++ b/bin/install_app_store @@ -6,6 +6,7 @@ set -o nounset set -o errexit set -o pipefail IFS=$'\n\t' + SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_app_store" if [[ -x "$SCRIPT_PATH" ]]; then diff --git a/bin/install_applications b/bin/install_applications index 78cc330..477a4f0 100755 --- a/bin/install_applications +++ b/bin/install_applications @@ -6,6 +6,7 @@ set -o nounset set -o errexit set -o pipefail IFS=$'\n\t' + SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_applications" if [[ -x "$SCRIPT_PATH" ]]; then diff --git a/bin/install_extensions b/bin/install_extensions index ad6e05f..adc16de 100755 --- a/bin/install_extensions +++ b/bin/install_extensions @@ -6,6 +6,7 @@ set -o nounset set -o errexit set -o pipefail IFS=$'\n\t' + SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_extensions" if [[ -x "$SCRIPT_PATH" ]]; then diff --git a/bin/restore_backup b/bin/restore_backup index 2593ca8..9bb01fe 100755 --- a/bin/restore_backup +++ b/bin/restore_backup @@ -6,6 +6,7 @@ set -o nounset set -o errexit set -o pipefail IFS=$'\n\t' + SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/restore_backup" if [[ -x "$SCRIPT_PATH" ]]; then diff --git a/bin/setup_software b/bin/setup_software index 2d227ad..55b55d6 100755 --- a/bin/setup_software +++ b/bin/setup_software @@ -6,6 +6,7 @@ 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