Update file run_onchange_before_91-configure-gpg.tmpl
This commit is contained in:
parent
4f0eb7e9fb
commit
cc6c8478e9
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ if [ -n "$KEYID" ] && command -v gpg > /dev/null; then
|
||||||
gpgconf --kill dirmngr
|
gpgconf --kill dirmngr
|
||||||
KEYID="${KEYID^^}"
|
KEYID="${KEYID^^}"
|
||||||
KEYID="$(echo "$KEYID" | sed 's/^0X/0x/')"
|
KEYID="$(echo "$KEYID" | sed 's/^0X/0x/')"
|
||||||
if [ -f "$HOME/.gnupg/$KEYID.key" ]; then
|
if [ -f "$HOME/.gnupg/public/$KEYID.key" ]; then
|
||||||
gpg --import "$HOME/.gnupg/$KEYID.key"
|
gpg --import "$HOME/.gnupg/public/$KEYID.key"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
logg success 'Successfully imported configured public user GPG key'
|
logg success 'Successfully imported configured public user GPG key'
|
||||||
|
|
Loading…
Reference in a new issue