aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/missing_formula.rb
diff options
context:
space:
mode:
authorMike McQuaid2017-07-02 15:28:44 +0100
committerMike McQuaid2017-07-02 15:28:44 +0100
commit835135cb68a8882d822e4903e43ff6dcce402cd3 (patch)
tree2ca7b00e167cafb61488eba058155234d7eba315 /Library/Homebrew/missing_formula.rb
parentbb33685255271b1ea0d7d44262fa6620a6e32fde (diff)
downloadbrew-835135cb68a8882d822e4903e43ff6dcce402cd3.tar.bz2
missing_formula: no need to tap homebrew/core.
Avoiding printing the weird message e.g: ``` It was migrated from homebrew/science to homebrew/core. You can access it again by running: brew tap homebrew/core ```
Diffstat (limited to 'Library/Homebrew/missing_formula.rb')
-rw-r--r--Library/Homebrew/missing_formula.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/missing_formula.rb b/Library/Homebrew/missing_formula.rb
index 75498b128..57450ea84 100644
--- a/Library/Homebrew/missing_formula.rb
+++ b/Library/Homebrew/missing_formula.rb
@@ -109,6 +109,10 @@ module Homebrew
message = <<-EOS.undent
It was migrated from #{old_tap} to #{new_tap}.
+ EOS
+ break if new_tap_name == CoreTap.instance.name
+
+ message += <<-EOS.undent
You can access it again by running:
brew tap #{new_tap_name}
EOS