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')
bin/restore_backup;;
'c')
verify_homebrews
verify_homebrew_formulas
verify_applications
verify_extensions;;
'C')

View File

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