Added script hooks for unfinished custom configurations.

- These scripts default to calling out to scripts of the same name as
  defined by the custom configuration project (i.e.
  `$MAC_OS_CONFIG_PATH`).
- This helps ensure the scripts in this project can be run
  appropriately even if the custom configuration project hasn't fully
  implemented all scripts yet.
- This also helps illustrate what scripts are necessary when creating a
  custom configuration.
This commit is contained in:
Brooke Kuhlmann
2016-10-11 16:31:47 -06:00
parent 57e20929b3
commit d546d79759
9 changed files with 159 additions and 15 deletions

View File

@@ -11,34 +11,34 @@ process_option() {
'B')
bin/create_boot_disk;;
'b')
"$MAC_OS_CONFIG_PATH/bin/apply_basic_settings";;
bin/apply_basic_settings;;
't')
bin/install_dev_tools;;
'h')
"$MAC_OS_CONFIG_PATH/bin/install_homebrew";;
bin/install_homebrew;;
'm')
"$MAC_OS_CONFIG_PATH/bin/install_app_store";;
bin/install_app_store;;
'a')
"$MAC_OS_CONFIG_PATH/bin/install_applications";;
bin/install_applications;;
'x')
"$MAC_OS_CONFIG_PATH/bin/install_extensions";;
bin/install_extensions;;
'd')
"$MAC_OS_CONFIG_PATH/bin/apply_default_settings";;
bin/apply_default_settings;;
's')
"$MAC_OS_CONFIG_PATH/bin/setup_software";;
bin/setup_software;;
'i')
caffeinate_machine
"$MAC_OS_CONFIG_PATH/bin/apply_basic_settings"
bin/apply_basic_settings
bin/install_dev_tools
"$MAC_OS_CONFIG_PATH/bin/install_homebrew"
"$MAC_OS_CONFIG_PATH/bin/install_app_store"
"$MAC_OS_CONFIG_PATH/bin/install_applications"
"$MAC_OS_CONFIG_PATH/bin/install_extensions"
"$MAC_OS_CONFIG_PATH/bin/apply_default_settings"
"$MAC_OS_CONFIG_PATH/bin/setup_software"
bin/install_homebrew
bin/install_app_store
bin/install_applications
bin/install_extensions
bin/apply_default_settings
bin/setup_software
clean_work_path;;
'R')
"$MAC_OS_CONFIG_PATH/bin/restore_backup";;
bin/restore_backup;;
'c')
verify_homebrews
verify_applications