aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2016-10-01 19:42:28 +0100
committerMike McQuaid2016-10-01 19:42:38 +0100
commitc699597c4c2ee251919507a509a96ca2b7840a7f (patch)
tree2bce2af1aad7a806e16a0f89bf064928fff0b938 /Library/Homebrew/cmd
parent19e633f1900ea910c2a9db85dc7c7bea0825676d (diff)
downloadbrew-c699597c4c2ee251919507a509a96ca2b7840a7f.tar.bz2
install: remove not updated warning.
This is no longer relevant after moving to taps/tags and if ever re-added it should probably target homebrew/core. Fixes #1194.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/install.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index 8a8323252..402a159db 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -199,16 +199,6 @@ module Homebrew
puts_columns(taps_search_results)
puts "To install one of them, run (for example):\n brew install #{taps_search_results.first}"
end
-
- # If they haven't updated in 48 hours (172800 seconds), that
- # might explain the error
- master = HOMEBREW_REPOSITORY/".git/refs/heads/master"
- return unless 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.
- Run `brew update` to get the latest Homebrew updates!
- EOS
end
end
end