aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements
diff options
context:
space:
mode:
authorMike McQuaid2017-10-22 19:48:57 +0100
committerGitHub2017-10-22 19:48:57 +0100
commit357b7bb0b72f5f3e2747ffffdad76d694f73b626 (patch)
tree42baa7002b2333063efa22fcbed18001b2593248 /Library/Homebrew/requirements
parenta1ff34dfad792590c621a8ea2216658a07e967c7 (diff)
parent1b084b5aa021d5399f4bc560ccab715766f09c16 (diff)
downloadbrew-357b7bb0b72f5f3e2747ffffdad76d694f73b626.tar.bz2
Merge pull request #3350 from DomT4/gpg_executable
gpg: a little intentional yak shaving
Diffstat (limited to 'Library/Homebrew/requirements')
-rw-r--r--Library/Homebrew/requirements/gpg2_requirement.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/requirements/gpg2_requirement.rb b/Library/Homebrew/requirements/gpg2_requirement.rb
index ebdd71f6e..04097f9be 100644
--- a/Library/Homebrew/requirements/gpg2_requirement.rb
+++ b/Library/Homebrew/requirements/gpg2_requirement.rb
@@ -8,5 +8,5 @@ class GPG2Requirement < Requirement
# GPGTools installs GnuPG 2.0.x as a `gpg` symlink pointing
# to `gpg2`. Our `gnupg` installs only a non-symlink `gpg`.
# The aim is to retain support for any version above 2.0.
- satisfy(build_env: false) { Gpg.gpg || Gpg.gpg2 }
+ satisfy(build_env: false) { Gpg.available? }
end