Homebrew/homebrew — pull request #25727 by sorah (2014-01-08 04:35:09+00:00)
Title: Use latest installed kegs for link and unlink cmd

Currently, when installed kegs are multiple and not latest (different with
latest formula), link and unlink command returns "multiple version installed"
error.

This fixes to use the latest installed keg for linking and unlinking.