aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-24 16:35:58 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-24 16:35:58 +0300
commit3582478dfa3e10e4a1942d69e21924695ba2ee71 (patch)
tree5e6335ec3f7e619b4a8ab4e0ef4e1b9489866902
parent72a43160c1054645339f653093534036fc73b2c8 (diff)
downloadarching-kaos-tools-3582478dfa3e10e4a1942d69e21924695ba2ee71.tar.gz
arching-kaos-tools-3582478dfa3e10e4a1942d69e21924695ba2ee71.tar.bz2
arching-kaos-tools-3582478dfa3e10e4a1942d69e21924695ba2ee71.zip
minor fix
-rwxr-xr-xlib/_ak_gpg3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/_ak_gpg b/lib/_ak_gpg
index d0b3b26..bd949f9 100755
--- a/lib/_ak_gpg
+++ b/lib/_ak_gpg
@@ -180,7 +180,8 @@ _ak_gpg_list_keys_long(){
grep -A 1 '^ \{6\}' | \
tr $'\n' ' ' | \
tr '\-\-' $'\n' | \
- awk '{print $1 " " $5}' | \
+ sed -e 's/\[//g' | \
+ awk '{print $1 " " $4}' | \
sort | \
uniq
}