doctor: suggest brew update in outdated warning

Closes Homebrew/homebrew#19106.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Geoff Petrie 2013-04-10 08:47:13 -06:00 committed by Jack Nagel
parent da9078aa51
commit 79c745cc76

View File

@ -1009,8 +1009,9 @@ def check_for_outdated_homebrew
end end
if Time.now.to_i - timestamp > 60 * 60 * 24 then <<-EOS.undent if Time.now.to_i - timestamp > 60 * 60 * 24 then <<-EOS.undent
Your Homebrew is outdated Your Homebrew is outdated.
You haven't updated for at least 24 hours, this is a long time in brewland! You haven't updated for at least 24 hours, this is a long time in brewland!
To update Homebrew, run `brew update`.
EOS EOS
end end
end end