From e750242b73d3dba199fd7491972854ca6b48ea38 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 22 Sep 2010 15:24:41 -0700 Subject: [PATCH] Add another file check to check_for_macgpg2 --- Library/Homebrew/brew_doctor.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/brew_doctor.rb b/Library/Homebrew/brew_doctor.rb index 96e3530d96..96abb371fe 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