Install README.txt etc. as README
This commit is contained in:
parent
dae260561e
commit
0ea078e1ae
@ -147,7 +147,8 @@ def install f
|
|||||||
f.prefix.mkpath
|
f.prefix.mkpath
|
||||||
f.install
|
f.install
|
||||||
%w[README ChangeLog COPYING LICENSE COPYRIGHT AUTHORS].each do |file|
|
%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
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user