aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2010-09-22 15:24:41 -0700
committerAdam Vandenberg2010-09-22 15:24:41 -0700
commite750242b73d3dba199fd7491972854ca6b48ea38 (patch)
treef254f73fd0b6fab847a5dfeb21eb8f793256d082 /Library/Homebrew
parentb2cde10e7e070045ae1a2eed5a0b842a905921c8 (diff)
downloadbrew-e750242b73d3dba199fd7491972854ca6b48ea38.tar.bz2
Add another file check to check_for_macgpg2
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/brew_doctor.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/brew_doctor.rb b/Library/Homebrew/brew_doctor.rb
index 96e3530d9..96abb371f 100644
--- a/Library/Homebrew/brew_doctor.rb
+++ b/Library/Homebrew/brew_doctor.rb
@@ -31,7 +31,8 @@ end
# Installing MacGPG2 interferes with Homebrew in a big way
# http://sourceforge.net/projects/macgpg2/files/
def check_for_macgpg2
- if File.exist? "/Applications/start-gpg-agent.app"
+ if File.exist? "/Applications/start-gpg-agent.app" or
+ File.exist? "/Library/Receipts/libiconv1.pkg"
puts <<-EOS.undent
If you have installed MacGPG2 via the package installer, several other
checks in this script will turn up problems, such as stray .dylibs in