diff options
| author | Mike McQuaid | 2015-07-11 21:16:00 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-07-11 21:16:00 +0100 |
| commit | 7d0d232fb68dd982fb2cc25d3373e4c387c9bacc (patch) | |
| tree | e08e57ac55c066f4b6b92a4d6289aae5e1575569 /Library/Homebrew/cmd | |
| parent | 83ab5f90bf38161b7b2e03168708242713479fe5 (diff) | |
| download | brew-7d0d232fb68dd982fb2cc25d3373e4c387c9bacc.tar.bz2 | |
cmd/install: fix install warning timeout.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 7d97b868e..2f41fa5b1 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. |
