summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>2022-10-13 22:45:17 +0200
committerJelmer Vernooij <jelmer@debian.org>2022-10-13 22:45:17 +0200
commitc6bf8b60383490af4ddf2cb51ccf30967eb43e1c (patch)
treef32e93e80f7203ef61c62d2d2c765ba555f83707
parent114654a21b2e842ee74e684bf72eefd9e1b993ee (diff)
Hardcode path to /usr/bin/gpg
Bug-Debian: https://bugs.debian.org/981647 Forwarded: Not-Needed Reviewed-by: gregor herrmann <gregoa@debian.org> Last-Update: 2021-08-18 Gbp-Pq: Name hardcode-path
-rw-r--r--lib/GnuPG/Interface.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
index 905ae30..49d3104 100644
--- a/lib/GnuPG/Interface.pm
+++ b/lib/GnuPG/Interface.pm
@@ -76,7 +76,7 @@ sub gnupg_call { shift->call(@_); }
sub BUILD {
my ( $self, $args ) = @_;
- $self->hash_init( call => 'gpg', %$args );
+ $self->hash_init( call => '/usr/bin/gpg', %$args );
}
struct(
@@ -1197,9 +1197,8 @@ keys to list in a key-listing.
=item call
-This defines the call made to invoke GnuPG. Defaults to 'gpg'; this
-should be changed if 'gpg' is not in your path, or there is a different
-name for the binary on your system.
+This defines the call made to invoke GnuPG. Defaults to '/usr/bin/gpg'; this
+should be changed if there is a different name for the binary on your system.
=item passphrase