From 6732953e0cc1e4d91d19dcddb90a2fc9afdfeace Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 11 Sep 2023 20:52:56 +0300 Subject: Minified output --- bin/ak-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ak-config b/bin/ak-config index 89a313d..92b932e 100755 --- a/bin/ak-config +++ b/bin/ak-config @@ -19,7 +19,7 @@ usage(){ show(){ echo ' { - "profile":'$(ak-profile index | jq -M)', + "profile":'$(ak-profile index | jq -cM)', "genesis":"'$(cat $HOME/.arching-kaos/config/zgenesis)'", "gpg":"'$GPG_PUB_KEY'", "zchain":"'$(cat $HOME/.arching-kaos/config/zchain)'" @@ -27,7 +27,7 @@ show(){ } publish(){ - show | jq -M > tmpfile + show | jq -c -M > tmpfile ipfs key list | grep ak-config 2> /dev/null 1>&2 if [ "$?" -ne 0 ] then -- cgit v1.2.3