update-report: remove unconditional cask/formula uninstall.
This commit is contained in:
parent
8b31167a43
commit
915eed4c64
@ -252,7 +252,6 @@ class Reporter
|
|||||||
new_tap = Tap.fetch(new_tap_name)
|
new_tap = Tap.fetch(new_tap_name)
|
||||||
# For formulae migrated to cask: Auto-install cask or provide install instructions.
|
# For formulae migrated to cask: Auto-install cask or provide install instructions.
|
||||||
if new_tap_name == "caskroom/cask"
|
if new_tap_name == "caskroom/cask"
|
||||||
system HOMEBREW_BREW_FILE, "uninstall", name
|
|
||||||
if new_tap.installed? && (HOMEBREW_REPOSITORY/"Caskroom").directory?
|
if new_tap.installed? && (HOMEBREW_REPOSITORY/"Caskroom").directory?
|
||||||
ohai "#{name} has been moved to Homebrew Cask. Installing #{name}..."
|
ohai "#{name} has been moved to Homebrew Cask. Installing #{name}..."
|
||||||
system HOMEBREW_BREW_FILE, "uninstall", "--force", name
|
system HOMEBREW_BREW_FILE, "uninstall", "--force", name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user