diff options
| author | Dominyk Tiller | 2017-10-22 02:58:50 +0100 |
|---|---|---|
| committer | Dominyk Tiller | 2017-10-22 05:11:52 +0100 |
| commit | 1b084b5aa021d5399f4bc560ccab715766f09c16 (patch) | |
| tree | a9b10ab7eda879f213e35eb5bf431450b9b917d7 /Library | |
| parent | dad939c4d1beb3b00d6b477c6b1d1725dafdd29c (diff) | |
| download | brew-1b084b5aa021d5399f4bc560ccab715766f09c16.tar.bz2 | |
gpg2_requirement: use direct 'available?' logic
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/requirements/gpg2_requirement.rb | 2 |
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 |
