commit 689ebe531b423897d836b2627ddccd98a0a665cd
parent a7cae2060c46e69987a90218ba49dce52b35a84c
Author: aabacchus <bvnfuller@gmail.com>
Date: Wed, 7 Apr 2021 15:03:36 +0100
gpg-signatures: use only first key each time
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gpg-signatures/build b/gpg-signatures/build
@@ -17,7 +17,8 @@ for sig in *.txt; do
gpg --import \
--keyid-format long \
"$sig" 2>&1 \
- | awk '/^gpg: key / {print substr($3, 1, length($3)-1)}')
+ | awk '/^gpg: key / {print substr($3, 1, length($3)-1)}' \
+ | sed '2,$d' )
gpg --command-fd 0 \
--quiet \
--expert \