Fixed verification of Homebrew formulas.

The `verify_homebrew_formulas` function will no longer error when
checking Homebrew formulas due to invalid function name.
This commit is contained in:
Brooke Kuhlmann
2018-07-29 13:37:36 -06:00
parent da81619140
commit 6c06f7107b
2 changed files with 6 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ process_option() {
'R') 'R')
bin/restore_backup;; bin/restore_backup;;
'c') 'c')
verify_homebrews verify_homebrew_formulas
verify_applications verify_applications
verify_extensions;; verify_extensions;;
'C') 'C')

View File

@@ -16,9 +16,9 @@ verify_homebrew() {
} }
export -f verify_homebrew export -f verify_homebrew
# Checks for missing Homebrew software. # Checks for missing Homebrew formulas.
verify_homebrews() { verify_homebrew_formulas() {
printf "Checking Homebrew software...\n" printf "Checking Homebrew formulas...\n"
local applications="$(brew list)" local applications="$(brew list)"
@@ -39,11 +39,11 @@ verify_homebrews() {
verify_homebrew "$application" "${applications[*]}" verify_homebrew "$application" "${applications[*]}"
fi fi
done < "$MAC_OS_CONFIG_PATH/bin/install_homebrew" done < "$MAC_OS_CONFIG_PATH/bin/install_homebrew_formulas"
printf "Homebrew check complete.\n" printf "Homebrew check complete.\n"
} }
export -f verify_homebrews export -f verify_homebrew_formulas
# Verifies application exists. # Verifies application exists.
# Parameters: # Parameters: