From f8ea1dbcd3c9d6fd66fc431eb6f2fc84ebaf4166 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 5 Jan 2023 02:02:11 +0000 Subject: [PATCH] Update file run_onchange_before_91-configure-gpg.tmpl --- .../universal/run_onchange_before_91-configure-gpg.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.chezmoiscripts/universal/run_onchange_before_91-configure-gpg.tmpl b/home/.chezmoiscripts/universal/run_onchange_before_91-configure-gpg.tmpl index ceb36820..2cea23b9 100644 --- a/home/.chezmoiscripts/universal/run_onchange_before_91-configure-gpg.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_before_91-configure-gpg.tmpl @@ -27,6 +27,7 @@ if [ -n "$KEYID" ] && command -v gpg > /dev/null; then sudo pkill dirmngr dirmngr --debug-all --daemon --standard-resolver gpg --keyserver hkps://pgp.mit.edu --recv "$KEYID" + gpgconf --kill dirmngr fi else logg info 'Key is already in keyring'