Check for all manpaths
This commit is contained in:
parent
d39364b70a
commit
bdbb8dc2a4
@ -88,7 +88,10 @@ puts "/usr/local/bin/brew"
|
|||||||
puts "/usr/local/Library/Formula/..."
|
puts "/usr/local/Library/Formula/..."
|
||||||
puts "/usr/local/Library/Homebrew/..."
|
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}" }.
|
map{ |d| "/usr/local/#{d}" }.
|
||||||
select{ |d| File.directory? d and not File.writable? d }
|
select{ |d| File.directory? d and not File.writable? d }
|
||||||
chgrps = chmods.reject{ |d| File.stat(d).grpowned? }
|
chgrps = chmods.reject{ |d| File.stat(d).grpowned? }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user