Update file run_onchange_before_91-configure-gpg.tmpl
This commit is contained in:
parent
8cbdc6d545
commit
52af781c9d
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ if [ -n "$KEYID" ] && command -v gpg > /dev/null; then
|
|||
KEYID_TRIMMED="$(echo "$KEYID" | sed 's/^0x//')"
|
||||
if ! gpg --list-secret-keys --keyid-format=long | grep "$KEYID_TRIMMED" > /dev/null; then
|
||||
logg info 'Attempting to download the specified public GPG key (`{{ .user.gpg.id }}`) from public keyservers'
|
||||
gpg --recv "$KEYID" || EXIT_CODE=$?
|
||||
gpg --recv "$KEYID" --keyserver hkps://keyserver.ubuntu.com || EXIT_CODE=$?
|
||||
if [ -n "$EXIT_CODE" ]; then
|
||||
logg warn 'Error downloading public GPG key'
|
||||
logg info 'Retrying after turning on debug mode and using the standard DNS resolver'
|
||||
|
|
Loading…
Reference in a new issue