keg_relocate: don't match "text" in filenames.
This commit is contained in:
parent
842c0227bc
commit
5db82b46b1
@ -163,7 +163,7 @@ class Keg
|
||||
path.find do |pn|
|
||||
next if pn.symlink? or pn.directory?
|
||||
next if Metafiles::EXTENSIONS.include? pn.extname
|
||||
text_files << pn if Utils.popen_read("/usr/bin/file", pn).include?("text")
|
||||
text_files << pn if Utils.popen_read("/usr/bin/file", "--brief", pn).include?("text")
|
||||
end
|
||||
|
||||
text_files
|
||||
|
Loading…
x
Reference in New Issue
Block a user