aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-10-13 23:13:01 -0500
committerJack Nagel2014-10-13 23:13:01 -0500
commit5f69aa9cf930a41b21edc23da5d9f78b03ce728b (patch)
treede52df963a079997a0447ceafa5c268232843e0a /Library
parent98a12e7a3efc3e1c59235d30c8b8815c84e33ce8 (diff)
downloadhomebrew-5f69aa9cf930a41b21edc23da5d9f78b03ce728b.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.
Diffstat (limited to 'Library')
-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