diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-07-24 16:35:58 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-07-24 16:35:58 +0300 |
commit | 3582478dfa3e10e4a1942d69e21924695ba2ee71 (patch) | |
tree | 5e6335ec3f7e619b4a8ab4e0ef4e1b9489866902 /lib | |
parent | 72a43160c1054645339f653093534036fc73b2c8 (diff) | |
download | arching-kaos-tools-3582478dfa3e10e4a1942d69e21924695ba2ee71.tar.gz arching-kaos-tools-3582478dfa3e10e4a1942d69e21924695ba2ee71.tar.bz2 arching-kaos-tools-3582478dfa3e10e4a1942d69e21924695ba2ee71.zip |
minor fix
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/_ak_gpg | 3 |
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 } |