From a4e83a94b06110ac3a2b82c1061d0073e359eda8 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 2 Apr 2023 19:25:12 +0300 Subject: Eliminated json_pp usage --- bin/ak-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ak-config') diff --git a/bin/ak-config b/bin/ak-config index bc06e49..b64c731 100755 --- a/bin/ak-config +++ b/bin/ak-config @@ -19,7 +19,7 @@ usage(){ show(){ echo ' { - "profile":'$(profile index | json_pp)', + "profile":'$(profile index | jq -M)', "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 | json_pp > tmpfile + show | jq -M > tmpfile ipfs name publish --key=ak-config /ipfs/$(ipfs add -q tmpfile) if [ "$?" != 0 ] then -- cgit v1.2.3