aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/install.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 45d56701a..3ef27748c 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