diff options
author | Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> | 2023-12-15 22:14:01 +0100 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2023-12-15 22:14:01 +0100 |
commit | 9a8e0abde14588916c39fc573b020cf6c8b5d02a (patch) | |
tree | bf902c13568bc5a3d24ebe26cd08191ba54e2012 | |
parent | 109762e71ee1c26b51e95e639eeb9fb54c4d69ae (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: 2023-09-17
Gbp-Pq: Name hardcode-path
-rw-r--r-- | lib/GnuPG/Interface.pm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm index 353745e..fb5f1f2 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( @@ -1201,9 +1201,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 |