diff options
| author | Adam Vandenberg | 2014-02-22 09:20:09 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-23 08:30:50 -0800 |
| commit | bb5a2b587e3788858687a782fd57750f623b8b33 (patch) | |
| tree | 58eae2dd2083040cb6b914e7213741799ba84fce /Library/Homebrew/keg.rb | |
| parent | 311dd6f5e8e85864619e0354a62fd8c02b11481f (diff) | |
| download | brew-bb5a2b587e3788858687a782fd57750f623b8b33.tar.bz2 | |
Always keep info files
Closes Homebrew/homebrew#26659.
Diffstat (limited to 'Library/Homebrew/keg.rb')
| -rw-r--r-- | Library/Homebrew/keg.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 442976c8b..42e960ad9 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -49,7 +49,7 @@ class Keg < Pathname # check whether the file to be unlinked is from the current keg first next if !dst.symlink? || !dst.exist? || src != dst.resolved_path - dst.uninstall_info if dst.to_s =~ INFOFILE_RX and ENV['HOMEBREW_KEEP_INFO'] + dst.uninstall_info if dst.to_s =~ INFOFILE_RX dst.unlink Find.prune if src.directory? end @@ -130,7 +130,7 @@ class Keg < Pathname link_dir('share', mode) do |path| case path.to_s when 'locale/locale.alias' then :skip_file - when INFOFILE_RX then ENV['HOMEBREW_KEEP_INFO'] ? :info : :skip_file + when INFOFILE_RX then :info when LOCALEDIR_RX then :mkpath when *share_mkpaths then :mkpath when /^icons\/.*\/icon-theme\.cache$/ then :skip_file |
