diff options
Diffstat (limited to 'Library/Homebrew/migrator.rb')
| -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 | 
