From 05f40085b2ee9dbdad7a3eea808850636e8f35cb Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Sat, 29 Oct 2016 17:24:06 +0300 Subject: [PATCH] gpg: remove spurious space --- scripts/gpg-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gpg-init b/scripts/gpg-init index b86eee9..e4045ca 100755 --- a/scripts/gpg-init +++ b/scripts/gpg-init @@ -17,7 +17,7 @@ gpg2 --homedir "${HOMEDIR}" --import < "${HOMEDIR}/pubkey.asc" rm -f "${HOMEDIR}/S.gpg-agent" # (otherwise, our agent won't be started automatically) # Make new GPG identity with "ultimate" trust (via its fingerprint) -FINGERPRINT=$(gpg2 --homedir "${HOMEDIR}" --list-public-keys --with-colons | sed -n -E 's/^fpr:::::::::([0-9A-F]+):$/\1/p' | head -n1) +FINGERPRINT=$(gpg2 --homedir "${HOMEDIR}" --list-public-keys --with-colons | sed -n -E 's/^fpr:::::::::([0-9A-F]+):$/\1/p' | head -n1) echo "${FINGERPRINT}:6" | gpg2 --homedir "${HOMEDIR}" --import-ownertrust # Prepare GPG configuration file