diff options
| author | ilovezfs | 2018-03-02 21:18:22 -0800 |
|---|---|---|
| committer | GitHub | 2018-03-02 21:18:22 -0800 |
| commit | 08f7e8c5887d1c654a1a5d5bc851a9c9d5a00371 (patch) | |
| tree | 7f75438acdcc2ea242fe087d1adf3f587079abae /Library/Homebrew | |
| parent | 84d718cbef0b96ef621a2ec51171f7d66c20f87d (diff) | |
| parent | 2f776ed5233cf9620d7a9284b013a8a0f6572d10 (diff) | |
| download | brew-1.5.8.tar.bz2 | |
Merge pull request #3864 from MikeMcQuaid/migrator-upgrade1.5.8
migrator: recommend upgrade.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/migrator.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/migrator.rb b/Library/Homebrew/migrator.rb index 3ccf2f23c..7287a3c88 100644 --- a/Library/Homebrew/migrator.rb +++ b/Library/Homebrew/migrator.rb @@ -193,6 +193,11 @@ class Migrator link_oldname_opt link_newname unless old_linked_keg.nil? update_tabs + return unless formula.outdated? + opoo <<~EOS + #{Formatter.identifier(newname)} is outdated! Please run as soon as possible: + brew upgrade #{newname} + EOS rescue Interrupt ignore_interrupts { backup_oldname } rescue Exception => e # rubocop:disable Lint/RescueException |
