Skip to content
Snippets Groups Projects
Commit 7d0d232f authored by Mike McQuaid's avatar Mike McQuaid
Browse files

cmd/install: fix install warning timeout.

parent 83ab5f90
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment