aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-06-22 13:50:39 +0100
committerMike McQuaid2016-06-22 13:50:39 +0100
commit915eed4c6427271c5b4c01fa36239361c3680c40 (patch)
treeeb753ff34b688623be023e1107e1c25f5e472583 /Library
parent8b31167a434572f7cf83fb6dc1ce48ff4b5d1fda (diff)
downloadbrew-915eed4c6427271c5b4c01fa36239361c3680c40.tar.bz2
update-report: remove unconditional cask/formula uninstall.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update-report.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb
index 197546966..a6cad4316 100644
--- a/Library/Homebrew/cmd/update-report.rb
+++ b/Library/Homebrew/cmd/update-report.rb
@@ -252,7 +252,6 @@ class Reporter
new_tap = Tap.fetch(new_tap_name)
# For formulae migrated to cask: Auto-install cask or provide install instructions.
if new_tap_name == "caskroom/cask"
- system HOMEBREW_BREW_FILE, "uninstall", name
if new_tap.installed? && (HOMEBREW_REPOSITORY/"Caskroom").directory?
ohai "#{name} has been moved to Homebrew Cask. Installing #{name}..."
system HOMEBREW_BREW_FILE, "uninstall", "--force", name
@@ -261,7 +260,7 @@ class Reporter
ohai "#{name} has been moved to Homebrew Cask.", <<-EOS.undent
To uninstall the formula and install the cask run:
brew uninstall --force #{name}
- brew cask install #{name}
+ brew cask install #{name}
EOS
end
else