aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-10-13 23:13:01 -0500
committerJack Nagel2014-10-13 23:13:01 -0500
commit634d67690bbb2f0d6520c2f87a1cf8c7e4ceb089 (patch)
tree20e28b65bd8318ff65e86f41ed313d0cf2db6729
parentb46ebf8a29d9ac150895f426cbcf9a78359709ec (diff)
downloadbrew-634d67690bbb2f0d6520c2f87a1cf8c7e4ceb089.tar.bz2
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.
-rw-r--r--Library/Homebrew/formula_installer.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 4b437e61d..d315ff1dd 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