aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
diff options
context:
space:
mode:
authorJack Nagel2012-12-17 17:05:53 -0600
committerJack Nagel2012-12-17 17:18:22 -0600
commit3dcce70a6af0a187f6c30e66cef45bee3cae6a6f (patch)
tree5ff5af6efba3b34be927cb62b54be2cfedd90eb3 /Library/Homebrew/cmd/install.rb
parent68d1dfe5d77781e74cab72f0950484ae58d5e425 (diff)
downloadbrew-3dcce70a6af0a187f6c30e66cef45bee3cae6a6f.tar.bz2
Better reporting for MacPorts/Fink installations
closes Homebrew/homebrew#15853.
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
-rw-r--r--Library/Homebrew/cmd/install.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb
index ad5420df1..34114e4ae 100644
--- a/Library/Homebrew/cmd/install.rb
+++ b/Library/Homebrew/cmd/install.rb
@@ -49,7 +49,7 @@ module Homebrew extend self
end
def check_macports
- if MacOS.macports_or_fink_installed?
+ unless MacOS.macports_or_fink.empty?
opoo "It appears you have MacPorts or Fink installed."
puts "Software installed with other package managers causes known problems for"
puts "Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again."