aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-23 18:53:15 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-23 18:53:15 +0300
commit43407b52ab58eb3844ac10301be5de3237086f92 (patch)
tree17ce4e005ae84b80a8ec3aae18206d8bca2b2906 /lib
parent9a61eea1cbae2c69d37a20ea93c452fb2523dcd7 (diff)
downloadarching-kaos-tools-43407b52ab58eb3844ac10301be5de3237086f92.tar.gz
arching-kaos-tools-43407b52ab58eb3844ac10301be5de3237086f92.tar.bz2
arching-kaos-tools-43407b52ab58eb3844ac10301be5de3237086f92.zip
bugfix
Diffstat (limited to 'lib')
-rwxr-xr-xlib/_ak_gpg3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/_ak_gpg b/lib/_ak_gpg
index d478531..d0b3b26 100755
--- a/lib/_ak_gpg
+++ b/lib/_ak_gpg
@@ -198,7 +198,8 @@ _ak_gpg_list_secret_keys_long(){
grep -A 1 '^ \{6\}' | \
tr $'\n' ' ' | \
tr '\-\-' $'\n' | \
- awk '{print $1 " " $5}' | \
+ sed -e 's/\[//g' | \
+ awk '{print $1 " " $4}' | \
sort | \
uniq
}