diff options
| author | Jack Nagel | 2014-10-13 23:13:01 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-13 23:13:01 -0500 |
| commit | 5f69aa9cf930a41b21edc23da5d9f78b03ce728b (patch) | |
| tree | de52df963a079997a0447ceafa5c268232843e0a /Library | |
| parent | 98a12e7a3efc3e1c59235d30c8b8815c84e33ce8 (diff) | |
| download | homebrew-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.rb | 4 |
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 |
