mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Warn, don't advertise with a status header
This commit is contained in:
parent
2431c00c92
commit
3a58b8141b
@ -12,10 +12,7 @@ module Homebrew extend self
|
||||
end unless ARGV.force?
|
||||
|
||||
ARGV.formulae.each do |f|
|
||||
if f.linked_keg.directory?
|
||||
ohai "#{f} already installed"
|
||||
puts "Try: brew upgrade #{f}"
|
||||
end
|
||||
opoo "#{f} already installed" if f.linked_keg.directory?
|
||||
end unless ARGV.force?
|
||||
|
||||
if Process.uid.zero? and not File.stat(HOMEBREW_BREW_FILE).uid.zero?
|
||||
|
Loading…
x
Reference in New Issue
Block a user