diff options
| author | Max Howell | 2010-06-16 08:53:46 +0100 |
|---|---|---|
| committer | Max Howell | 2012-03-09 12:09:37 +0000 |
| commit | f939a2c8b249d6fee560349fd5c7348bd16e47bb (patch) | |
| tree | deed1b290050241e79455804aaa33c8f45393938 | |
| parent | 13e73a2c556d7acf3556290579089c2e0f59684e (diff) | |
| download | brew-f939a2c8b249d6fee560349fd5c7348bd16e47bb.tar.bz2 | |
chmod Library and libexec too
| -rw-r--r-- | install_homebrew.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install_homebrew.rb b/install_homebrew.rb index 508338d38..793186f15 100644 --- a/install_homebrew.rb +++ b/install_homebrew.rb @@ -90,7 +90,7 @@ puts "/usr/local/bin/brew" puts "/usr/local/Library/Formula/..." puts "/usr/local/Library/Homebrew/..." -chmods = %w(bin etc include lib sbin share var . share/locale share/man share/info share/doc share/aclocal). +chmods = %w(bin etc include lib libexec Library sbin share var . share/locale share/man 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? } |
