Skip to content

Commit 804c53a

Browse files
ci: Start gpg-agent daemon in GPGME example
1 parent 1361419 commit 804c53a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/gpgme.sh

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ set -v # Print executed lines
1414
# root (not recommended).
1515
./install_gpg_all.sh \
1616
--suite-version latest --sudo --ldconfig "$@"
17+
18+
# Start agent in case it's not running (mainly for macOSes)
19+
gpg-agent --daemon || :
20+
1721
./install_gpg_component.sh \
1822
--component-name gpgme --component-version latest --sudo --ldconfig "$@"
1923

0 commit comments

Comments
 (0)