aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/brew.h.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/brew.h.rb b/Library/Homebrew/brew.h.rb
index 8f5408e1b..842439a8c 100644
--- a/Library/Homebrew/brew.h.rb
+++ b/Library/Homebrew/brew.h.rb
@@ -147,7 +147,8 @@ def install f
f.prefix.mkpath
f.install
%w[README ChangeLog COPYING LICENSE COPYRIGHT AUTHORS].each do |file|
- f.prefix.install file if File.file? file
+ FileUtils.mv "#{file}.txt", file rescue nil
+ f.prefix.install file rescue nil
end
end
end