Don't mention the sbin PATH issue unless files are there
Because the new installer will always create /usr/local/sbin. Because we must keep /usr/local root:wheel unless we want to be considered bad citizens.
This commit is contained in:
parent
1576e0a537
commit
36ce83fd8d
@ -370,7 +370,7 @@ def check_user_path
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Don't complain about sbin not being in the path if it doesn't exist
|
# Don't complain about sbin not being in the path if it doesn't exist
|
||||||
if (HOMEBREW_PREFIX+'sbin').exist?
|
if (HOMEBREW_PREFIX+'sbin').children.count > 0
|
||||||
unless seen_prefix_sbin
|
unless seen_prefix_sbin
|
||||||
puts <<-EOS.undent
|
puts <<-EOS.undent
|
||||||
Some brews install binaries to sbin instead of bin, but Homebrew's
|
Some brews install binaries to sbin instead of bin, but Homebrew's
|
||||||
|
Loading…
x
Reference in New Issue
Block a user