diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-12-12 12:29:51 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-12-12 12:29:51 +0200 |
commit | deabc2c4c46237a3d8186f9b59fda5d975dfd50c (patch) | |
tree | b89e91742a95aaa8740debe5587ca4e1f29cecc0 /bin/ak-get-gpg | |
parent | 296074f6f5f45c8ab55b44309f9991dca8ef13da (diff) | |
download | arching-kaos-tools-deabc2c4c46237a3d8186f9b59fda5d975dfd50c.tar.gz arching-kaos-tools-deabc2c4c46237a3d8186f9b59fda5d975dfd50c.tar.bz2 arching-kaos-tools-deabc2c4c46237a3d8186f9b59fda5d975dfd50c.zip |
Simplification using jq
Diffstat (limited to 'bin/ak-get-gpg')
-rwxr-xr-x | bin/ak-get-gpg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-get-gpg b/bin/ak-get-gpg index 14512f3..ca718dc 100755 --- a/bin/ak-get-gpg +++ b/bin/ak-get-gpg @@ -1,2 +1,2 @@ #!/bin/bash -akconfig show|jq| grep gpg | sed -e 's/"gpg": "//g; s/[," ]//g' +ak-config show | jq -r '.gpg' |