aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-12-27 16:01:22 +0000
committerMike McQuaid2014-12-27 16:31:45 +0000
commitb804f729f19d7d8b33c77eff5b908d599a64f553 (patch)
treec42dde5ada5a60929928f05d3e4a7ffb0eb7e880 /Library/Formula
parent5c99489a96173af08c0551d2ba5e6d21618540a1 (diff)
downloadhomebrew-b804f729f19d7d8b33c77eff5b908d599a64f553.tar.bz2
gnupg2: fix strict audit failures.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gnupg2.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/gnupg2.rb b/Library/Formula/gnupg2.rb
index 4bab48e92..e00391e22 100644
--- a/Library/Formula/gnupg2.rb
+++ b/Library/Formula/gnupg2.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Gnupg2 < Formula
homepage "https://www.gnupg.org/"
url "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2"
@@ -73,4 +71,8 @@ class Gnupg2 < Formula
# gpg-zip isn't installed by this formula anyway
rm man1/"gpg-zip.1"
end
+
+ test do
+ system "#{bin}/gpgconf"
+ end
end