From deabc2c4c46237a3d8186f9b59fda5d975dfd50c Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 12 Dec 2023 12:29:51 +0200 Subject: Simplification using jq --- bin/ak-get-gpg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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' -- cgit v1.2.3