aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2012-03-09 11:56:35 +0000
committerMax Howell2012-03-09 12:09:38 +0000
commit897dd14ae5ab775470264156ddd3645ffb37cfaa (patch)
tree0e46c143baa9c8fd32947d8840f33a822a04767a
parent76ad14507ce71126d9446e08b99dbbb056bc296b (diff)
downloadbrew-897dd14ae5ab775470264156ddd3645ffb37cfaa.tar.bz2
Amend paths to check for chmods
-rw-r--r--install_homebrew.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb
index bfd6faac3..a43839ae1 100644
--- a/install_homebrew.rb
+++ b/install_homebrew.rb
@@ -88,7 +88,7 @@ puts "/usr/local/bin/brew"
puts "/usr/local/Library/Formula/..."
puts "/usr/local/Library/Homebrew/..."
-chmods = %w(bin etc include lib libexec Library sbin share var . share/locale share/man 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/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? }