aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git.rb
diff options
context:
space:
mode:
authorJack Nagel2013-10-25 20:18:37 -0500
committerJack Nagel2013-10-25 20:18:37 -0500
commitb42ab1071d38c01063c477cfef873bebdf095e03 (patch)
tree67a40254b6af98cbaeaba7154db832ecaec27a71 /Library/Formula/git.rb
parent08d52978c2ca2e4ecf1dce2ac2c9a6547c6bc7f8 (diff)
downloadhomebrew-b42ab1071d38c01063c477cfef873bebdf095e03.tar.bz2
git: fix permissions on html docs
Diffstat (limited to 'Library/Formula/git.rb')
-rw-r--r--Library/Formula/git.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index b79e88838..827d65224 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -94,6 +94,9 @@ class Git < Formula
# on many other packages, and is somewhat crazy, this way is easier.
man.install resource('man')
(share+'doc/git-doc').install resource('html')
+
+ # Make html docs world-readable; check if this is still needed at 1.8.4.2
+ chmod 0644, Dir["#{share}/doc/git-doc/*"]
end
def caveats; <<-EOS.undent