aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg_fix_install_names.rb12
1 files changed, 11 insertions, 1 deletions
diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb
index c0229497e..c3f618a4c 100644
--- a/Library/Homebrew/keg_fix_install_names.rb
+++ b/Library/Homebrew/keg_fix_install_names.rb
@@ -38,7 +38,7 @@ class Keg
end
end
- files = pkgconfig_files | libtool_files | script_files
+ files = pkgconfig_files | libtool_files | script_files | plist_files
files.group_by { |f| f.stat.ino }.each_value do |first, *rest|
s = first.open("rb", &:read)
@@ -198,4 +198,14 @@ class Keg
end if lib.directory?
libtool_files
end
+
+ def plist_files
+ plist_files = []
+
+ self.find do |pn|
+ next if pn.symlink? or pn.directory? or pn.extname != '.plist'
+ plist_files << pn
+ end
+ plist_files
+ end
end