From 7d0d232fb68dd982fb2cc25d3373e4c387c9bacc Mon Sep 17 00:00:00 2001 From: Mike McQuaid <mike@mikemcquaid.com> Date: Sat, 11 Jul 2015 21:16:00 +0100 Subject: [PATCH] cmd/install: fix install warning timeout. --- Library/Homebrew/cmd/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 7d97b868e1..2f41fa5b19 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -95,7 +95,7 @@ module Homebrew # If they haven't updated in 48 hours (172800 seconds), that # might explain the error master = HOMEBREW_REPOSITORY/".git/refs/heads/master" - if master.exist? && (Time.now.to_i - File.mtime(master).to_i) > 1#72800 + if master.exist? && (Time.now.to_i - File.mtime(master).to_i) > 172800 ohai "You haven't updated Homebrew in a while." puts <<-EOS.undent A formula for #{e.name} might have been added recently. -- GitLab