diff options
| author | Max Howell | 2011-07-29 14:54:42 +0100 |
|---|---|---|
| committer | Max Howell | 2011-07-29 14:54:42 +0100 |
| commit | fb2de567a52bbec076f31dd8e7bcc5420abeef06 (patch) | |
| tree | cacc605ba06c4cdf4479839e78d3fc3332938e11 | |
| parent | 98d16613a8b6e85d1a33fff1839e13f7bab2f103 (diff) | |
| download | homebrew-fb2de567a52bbec076f31dd8e7bcc5420abeef06.tar.bz2 | |
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.
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 90b94d5d6..40f74f4cd 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -370,7 +370,7 @@ def check_user_path end # 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 puts <<-EOS.undent Some brews install binaries to sbin instead of bin, but Homebrew's |
