Updated setup software as configure software script

Necessary to better describe the purpose of this script.
This commit is contained in:
Brooke Kuhlmann
2021-03-15 21:51:50 -06:00
parent c3c3036c88
commit f640e37089
4 changed files with 20 additions and 20 deletions

16
bin/configure_software Executable file
View File

@@ -0,0 +1,16 @@
#! /usr/bin/env bash
# Configures installed software.
set -o nounset
set -o errexit
set -o pipefail
IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/configure_software"
if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH"
else
printf "WARNING: Configure software script does not exist or is not executable.\n"
fi

View File

@@ -44,7 +44,7 @@ while true; do
printf " rg: Install Ruby gems.\n"
printf " rc: Install Rust crates.\n"
printf " d: Apply default settings.\n"
printf " s: Setup installed software.\n"
printf " cs: Configure installed software.\n"
printf " i: Install everything (i.e. executes all install options in order listed).\n"
printf " Restore:\n"
printf " R: Restore settings from backup.\n"

View File

@@ -1,16 +0,0 @@
#! /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

View File

@@ -32,8 +32,8 @@ process_option() {
bin/install_rust_crates;;
'd')
bin/apply_default_settings;;
's')
bin/setup_software;;
'cs')
bin/configure_software;;
'i')
caffeinate_machine
bin/apply_basic_settings
@@ -48,7 +48,7 @@ process_option() {
bin/install_ruby_gems
bin/install_rust_crates
bin/apply_default_settings
bin/setup_software
bin/configure_software
clean_work_path;;
'R')
caffeinate_machine