keg_relocate: don't relocate text files without /usr/bin/file.
This commit is contained in:
parent
ebddd65e8c
commit
a1a8b3faa7
@ -62,6 +62,8 @@ class Keg
|
||||
|
||||
def text_files
|
||||
text_files = []
|
||||
return text_files unless File.exist?("/usr/bin/file")
|
||||
|
||||
path.find do |pn|
|
||||
next if pn.symlink? || pn.directory?
|
||||
next if Metafiles::EXTENSIONS.include? pn.extname
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user