diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/keg_relocate.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/keg_relocate.rb b/Library/Homebrew/keg_relocate.rb index 317320168..823f9bf2c 100644 --- a/Library/Homebrew/keg_relocate.rb +++ b/Library/Homebrew/keg_relocate.rb @@ -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 |
