mirror of
https://github.com/romanz/amodem.git
synced 2026-04-21 05:36:42 +08:00
Assume NeoPG binary runs GnuPG functionality
This commit is contained in:
@@ -201,7 +201,7 @@ def get_gnupg_components(sp=subprocess):
|
|||||||
def get_gnupg_binary(sp=subprocess, neopg_binary=None):
|
def get_gnupg_binary(sp=subprocess, neopg_binary=None):
|
||||||
"""Starting GnuPG 2.2.x, the default installation uses `gpg`."""
|
"""Starting GnuPG 2.2.x, the default installation uses `gpg`."""
|
||||||
if neopg_binary:
|
if neopg_binary:
|
||||||
return [neopg_binary, 'gpg2']
|
return [neopg_binary]
|
||||||
return [get_gnupg_components(sp=sp)['gpg']]
|
return [get_gnupg_components(sp=sp)['gpg']]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user