diff options
author | Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> | 2021-02-10 22:50:05 +0100 |
---|---|---|
committer | Dominic Hargreaves <dom@earth.li> | 2021-02-10 22:50:05 +0100 |
commit | 6718536aa2022ec18167149cccf4a080572d65ab (patch) | |
tree | c8307236667b22fc45d5f4d98820f78d6aaf232e | |
parent | f34d48b32e1bb7cc28d6788ee60a6785d548affd (diff) |
Hardcode path to /usr/bin/gpg
Last-Update: 2021-02-10
Forwarded: Not-Needed
Bug-Debian: https://bugs.debian.org/981647
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 13b313e..84312e2 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( @@ -1190,9 +1190,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 |