Skip to content

Commit

Permalink
doctor: suggest brew update in outdated warning
Browse files Browse the repository at this point in the history
Closes Homebrew#19106.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
geopet authored and jacknagel committed Apr 11, 2013
1 parent 8c63956 commit 222b9eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/cmd/doctor.rb
Expand Up @@ -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
Expand Down

0 comments on commit 222b9eb

Please sign in to comment.