Copy LICENSE file if it exists also

This commit is contained in:
Max Howell 2009-07-31 00:14:08 +01:00
parent fc6e9e5bab
commit 0dd07b3fdc

View File

@ -93,7 +93,7 @@ def install formula
else
formula.prefix.mkpath
formula.install
%w[README ChangeLog COPYING COPYRIGHT AUTHORS].each do |file|
%w[README ChangeLog COPYING LICENSE COPYRIGHT AUTHORS].each do |file|
formula.prefix.install file if File.file? file
end
end