From 634d67690bbb2f0d6520c2f87a1cf8c7e4ceb089 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 13 Oct 2014 23:13:01 -0500 Subject: [PATCH] Remove repeated conditional The post-install audit methods are not run for keg-only installs, so we don't need to repeat the conditional here. --- Library/Homebrew/formula_installer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 4b437e61de..d315ff1dd6 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -647,13 +647,13 @@ class FormulaInstaller end def audit_bin - print_check_output(check_PATH(f.bin)) unless f.keg_only? + print_check_output(check_PATH(f.bin)) print_check_output(check_non_executables(f.bin)) print_check_output(check_generic_executables(f.bin)) end def audit_sbin - print_check_output(check_PATH(f.sbin)) unless f.keg_only? + print_check_output(check_PATH(f.sbin)) print_check_output(check_non_executables(f.sbin)) print_check_output(check_generic_executables(f.sbin)) end