From 897dd14ae5ab775470264156ddd3645ffb37cfaa Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 9 Mar 2012 11:56:35 +0000 Subject: [PATCH] Amend paths to check for chmods --- install_homebrew.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_homebrew.rb b/install_homebrew.rb index bfd6faac34..a43839ae1e 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? }