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.
This commit is contained in:
parent
b46ebf8a29
commit
634d67690b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user