aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2012-04-28 14:08:05 -0700
committerAdam Vandenberg2012-04-28 14:08:05 -0700
commit1d975de41b90ff8a80458fabf81534dc3b1108f8 (patch)
treed81b508f5c7c1931274ada271950e0aa9e5d4433 /Library/Homebrew
parentcd4428bcb9c3b88d77c7416fb4d3bce242344ebf (diff)
downloadbrew-1d975de41b90ff8a80458fabf81534dc3b1108f8.tar.bz2
doctor: add another path to the macgpg2 check
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/doctor.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index a529f7402..44df50093 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -53,7 +53,8 @@ end
# http://sourceforge.net/projects/macgpg2/files/
def check_for_macgpg2
if File.exist? "/Applications/start-gpg-agent.app" or
- File.exist? "/Library/Receipts/libiconv1.pkg"
+ File.exist? "/Library/Receipts/libiconv1.pkg" or
+ File.exist? "/usr/local/MacGPG2"
<<-EOS.undent
You may have installed MacGPG2 via the package installer.
Several other checks in this script will turn up problems, such as stray