git: fix permissions on html doc directories
This commit is contained in:
parent
b3acc6de1d
commit
86f2090c70
1 changed files with 2 additions and 1 deletions
|
@ -120,8 +120,9 @@ class Git < Formula
|
||||||
man.install resource('man')
|
man.install resource('man')
|
||||||
(share+'doc/git-doc').install resource('html')
|
(share+'doc/git-doc').install resource('html')
|
||||||
|
|
||||||
# Make html docs world-readable; check if this is still needed at 1.8.6
|
# Make html docs world-readable
|
||||||
chmod 0644, Dir["#{share}/doc/git-doc/**/*.{html,txt}"]
|
chmod 0644, Dir["#{share}/doc/git-doc/**/*.{html,txt}"]
|
||||||
|
chmod 0755, Dir["#{share}/doc/git-doc/{RelNotes,howto,technical}"]
|
||||||
end
|
end
|
||||||
|
|
||||||
def caveats; <<-EOS.undent
|
def caveats; <<-EOS.undent
|
||||||
|
|
Loading…
Reference in a new issue