diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 45d56701ab..3ef27748ce 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -71,7 +71,13 @@ module Homebrew if f.installed? msg = "#{f.full_name}-#{f.installed_version} already installed" - msg << ", it's just not linked" unless f.linked_keg.symlink? || f.keg_only? + unless f.linked_keg.symlink? + if Pathname.new("#{HOMEBREW_CELLAR}/#{f.oldname}").exist? + msg << ", it's just not migrated" + elsif !f.keg_only? + msg << ", it's just not linked" + end + end opoo msg else formulae << f