Prune LinkedKegs too

This commit is contained in:
Max Howell 2011-08-28 11:39:37 +01:00
parent 6d6da0c0ef
commit de56768c6e

View File

@ -7,7 +7,7 @@ module Homebrew extend self
$d = 0 $d = 0
dirs = [] dirs = []
%w[bin sbin etc lib include share].map{ |d| HOMEBREW_PREFIX+d }.each do |path| %w[bin sbin etc lib include share Library/LinkedKegs].map{ |d| HOMEBREW_PREFIX+d }.each do |path|
path.find do |path| path.find do |path|
path.extend ObserverPathnameExtension path.extend ObserverPathnameExtension
if path.symlink? if path.symlink?