diff options
| author | Adam Vandenberg | 2010-06-29 10:21:40 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-09 19:13:07 -0700 |
| commit | 3fd8ca933d7c30ec01b6a2c2642c10df9f2220a5 (patch) | |
| tree | 5e26e77e9834486c54310727fabd0c0f02f1b72a /Library/Homebrew/utils.rb | |
| parent | 8dde4f80acef32496d190934a0cd9a31f5dbae3f (diff) | |
| download | homebrew-3fd8ca933d7c30ec01b6a2c2642c10df9f2220a5.tar.bz2 | |
brew doctor - X11 check
Tweak wording in X11 check and use the same X11 detection function
as ENV.x11; also move that function into utils.
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index a34e108de..52b85bd19 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -276,4 +276,8 @@ def dump_build_env env value = env[k] puts "#{k}: #{value}" if value end +end + +def x11_installed? + Pathname.new('/usr/X11/lib/libpng.dylib').exist? end
\ No newline at end of file |
