From: "Brian Inglis" <brian.ing...@systematicsw.ab.ca> Utility gpgv2 is the gpg2 release of gpgv, a lighter, script friendly, single operation gpg verification helper designed for use in scripts instead of gpg2 --verify: see 'info gpg2 helper gpgv'
__gpg_verify(): use gpgv2 not gpg2 --verify Signed-off-by: Brian Inglis <brian.ing...@systematicsw.ab.ca> --- lib/src_prep.cygpart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/lib/src_prep.cygpart 2024-01-15 05:09:23.000000000 -0700 +++ b/lib/src_prep.cygpart 2024-04-30 01:49:54.294030400 -0600 @@ -181,7 +181,7 @@ __gpg_verify() { local _filetype=${2}; local _sigext=${3:-sig}; - if ! check_prog gpg2 + if ! check_prog gpgv2 then # display notice only once if ! defined _gpg_not_found_ @@ -196,7 +196,7 @@ __gpg_verify() { if [ -f ${_file}.${_sigext} ] then inform "${_filetype} signature follows:"; - gpg2 --verify ${_file}.${_sigext} ${_file} || true; + gpgv2 ${_file}.${_sigext} ${_file} || true; fi }