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
commitebb058c422c9cd49afe2b863d734ef874a299e8a (patch)
tree5bded44bb71c2ef2cffd9e4613317a372286307d /Library/Homebrew
parent8ce0fd68224578050791e1982eb735e5bb46707c (diff)
downloadhomebrew-ebb058c422c9cd49afe2b863d734ef874a299e8a.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