aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb
index b34513c3a..d968a2fc4 100644
--- a/Library/Homebrew/keg.rb
+++ b/Library/Homebrew/keg.rb
@@ -10,8 +10,8 @@ class Keg < Pathname
# locale-specific directories have the form language[_territory][.codeset][@modifier]
LOCALEDIR_RX = /(locale|man)\/([a-z]{2}|C|POSIX)(_[A-Z]{2})?(\.[a-zA-Z\-0-9]+(@.+)?)?/
INFOFILE_RX = %r[info/([^.].*?\.info|dir)$]
- TOP_LEVEL_DIRECTORIES = %w[bin etc include lib sbin share var]
- PRUNEABLE_DIRECTORIES = %w[bin etc include lib sbin share Library/LinkedKegs]
+ TOP_LEVEL_DIRECTORIES = %w[bin etc include lib sbin share var Frameworks]
+ PRUNEABLE_DIRECTORIES = %w[bin etc include lib sbin share Frameworks Library/LinkedKegs]
# if path is a file in a keg then this will return the containing Keg object
def self.for path
@@ -101,6 +101,7 @@ class Keg < Pathname
link_dir('bin', mode) {:skip_dir}
link_dir('sbin', mode) {:skip_dir}
link_dir('include', mode) {:link}
+ link_dir('Frameworks', mode) { :link }
link_dir('share', mode) do |path|
case path.to_s