From dd651172ad434516f06d299b5787e2b6c41cf5e8 Mon Sep 17 00:00:00 2001 From: Jeffrey Lau Date: Fri, 27 Aug 2021 16:25:49 +0800 Subject: [PATCH] ci: Start gpg-agent daemon in GPGME example --- examples/gpgme.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/gpgme.sh b/examples/gpgme.sh index bfaa540..168d478 100755 --- a/examples/gpgme.sh +++ b/examples/gpgme.sh @@ -14,6 +14,10 @@ set -v # Print executed lines # root (not recommended). ./install_gpg_all.sh \ --suite-version latest --sudo --ldconfig "$@" + +# Start agent in case it's not running (mainly for macOSes) +gpgconf --launch gpg-agent + ./install_gpg_component.sh \ --component-name gpgme --component-version latest --sudo --ldconfig "$@"