From 79c745cc76866dc6c33e1108650f71a9760a7e3d Mon Sep 17 00:00:00 2001 From: Geoff Petrie Date: Wed, 10 Apr 2013 08:47:13 -0600 Subject: [PATCH] doctor: suggest `brew update` in outdated warning Closes Homebrew/homebrew#19106. Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/doctor.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index a80fd78ede..419d8556c6 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -1009,8 +1009,9 @@ def check_for_outdated_homebrew end 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! + To update Homebrew, run `brew update`. EOS end end