Don't try to link info/dir with HOMEBREW_KEEP_INFO

Some formulae have local info/dir files from before 9610ff2, and
attempting to link their info/dir over PREFIX/share/info/dir caused
linking to fail.
This commit is contained in:
Misty De Meo 2012-03-20 16:57:49 -05:00
parent bc7469c819
commit de234ebb5a

View File

@ -149,6 +149,7 @@ protected
when :skip_file, nil
Find.prune
when :info
next if File.basename(src) == 'dir' # skip historical local 'dir' files
make_relative_symlink dst, src
dst.install_info
else