diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-04-02 19:25:12 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-04-02 19:25:12 +0300 |
commit | a4e83a94b06110ac3a2b82c1061d0073e359eda8 (patch) | |
tree | 8068366fed96dbf5677d7ffdc87bffbf966e5f73 /bin/ak-config | |
parent | 1e779e30ef68bbc07fa7a205403d585868dc6b35 (diff) | |
download | arching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.tar.gz arching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.tar.bz2 arching-kaos-tools-a4e83a94b06110ac3a2b82c1061d0073e359eda8.zip |
Eliminated json_pp usage
Diffstat (limited to 'bin/ak-config')
-rwxr-xr-x | bin/ak-config | 4 |
1 files changed, 2 insertions, 2 deletions
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 |