aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2017-08-09 17:02:14 +0100
committerDominyk Tiller2017-08-09 17:06:49 +0100
commit0762cc6e74446bc46fa2daa4faffa229dd40e49c (patch)
treed99fc71dc00fb00948c3c5b2e532c1687912f9c5
parentca9b8bea2e57264a9ff7c2be8d0dd02ba25eafb3 (diff)
downloadbrew-0762cc6e74446bc46fa2daa4faffa229dd40e49c.tar.bz2
gpg2_requirement: flip search priority
-rw-r--r--Library/Homebrew/requirements/gpg2_requirement.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/requirements/gpg2_requirement.rb b/Library/Homebrew/requirements/gpg2_requirement.rb
index 97fabcca0..d570983eb 100644
--- a/Library/Homebrew/requirements/gpg2_requirement.rb
+++ b/Library/Homebrew/requirements/gpg2_requirement.rb
@@ -5,8 +5,8 @@ class GPG2Requirement < Requirement
fatal true
default_formula "gnupg"
- # MacGPG2/GPGTools installs GnuPG 2.0.x as a vanilla `gpg` symlink
- # pointing to `gpg2`, as do we. Ensure we're actually using a 2.0 `gpg`.
- # Support both the 2.0.x "stable" and 2.1.x "modern" series.
- satisfy(build_env: false) { Gpg.gpg2 || Gpg.gpg }
+ # GPGTools installs GnuPG 2.0.x as a vanilla `gpg` symlink
+ # pointing to `gpg2`. Homebrew install 2.1.x as a non-symlink `gpg`.
+ # We support both the 2.0.x "stable" and 2.1.x "modern" series here.
+ satisfy(build_env: false) { Gpg.gpg || Gpg.gpg2 }
end