diff options
| author | Max Howell | 2012-03-09 11:57:33 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-09 12:09:38 +0000 |
| commit | bdbb8dc2a4fbbf93c93d680837b91ebc7ac94231 (patch) | |
| tree | c3dc8d823e9f93ef1af596f7e2874477099fbae9 | |
| parent | d39364b70a451a0a0bbd5c5abd1bca2371173c72 (diff) | |
| download | brew-bdbb8dc2a4fbbf93c93d680837b91ebc7ac94231.tar.bz2 | |
Check for all manpaths
| -rw-r--r-- | install_homebrew.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb index 037d75b45..b0740572b 100644 --- a/install_homebrew.rb +++ b/install_homebrew.rb @@ -88,7 +88,10 @@ puts "/usr/local/bin/brew" puts "/usr/local/Library/Formula/..." puts "/usr/local/Library/Homebrew/..." -chmods = %w(bin etc include lib lib/pkgconfig Library sbin share var . share/locale share/man share/man/man1 share/info share/doc share/aclocal). +chmods = %w( . bin etc include lib lib/pkgconfig Library sbin share var share/locale share/man + share/man/man1 share/man/man2 share/man/man3 share/man/man4 + share/man/man5 share/man/man6 share/man/man7 share/man/man8 + share/info share/doc share/aclocal ). map{ |d| "/usr/local/#{d}" }. select{ |d| File.directory? d and not File.writable? d } chgrps = chmods.reject{ |d| File.stat(d).grpowned? } |
