diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 9d296b23e8..1342f9a84f 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -68,7 +68,7 @@ def check_for_macgpg2 Several other checks in this script will turn up problems, such as stray dylibs in /usr/local and permissions issues with share and man in /usr/local/. EOS - end + end unless File.exist? '/usr/local/MacGPG2/share/gnupg/VERSION' end def check_for_stray_dylibs