aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-12-12 12:29:51 +0200
committerkaotisk <kaotisk@arching-kaos.org>2023-12-12 12:29:51 +0200
commitdeabc2c4c46237a3d8186f9b59fda5d975dfd50c (patch)
treeb89e91742a95aaa8740debe5587ca4e1f29cecc0 /bin
parent296074f6f5f45c8ab55b44309f9991dca8ef13da (diff)
downloadarching-kaos-tools-deabc2c4c46237a3d8186f9b59fda5d975dfd50c.tar.gz
arching-kaos-tools-deabc2c4c46237a3d8186f9b59fda5d975dfd50c.tar.bz2
arching-kaos-tools-deabc2c4c46237a3d8186f9b59fda5d975dfd50c.zip
Simplification using jq
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-get-gpg2
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'