diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-09-11 20:52:56 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-09-11 20:52:56 +0300 |
commit | 6732953e0cc1e4d91d19dcddb90a2fc9afdfeace (patch) | |
tree | e8d926f5400f4eb4ea7e838ea39a39a3eac42fbb | |
parent | 13a588499aee287ec819fd6d1f0e71e76df6d326 (diff) | |
download | arching-kaos-tools-6732953e0cc1e4d91d19dcddb90a2fc9afdfeace.tar.gz arching-kaos-tools-6732953e0cc1e4d91d19dcddb90a2fc9afdfeace.tar.bz2 arching-kaos-tools-6732953e0cc1e4d91d19dcddb90a2fc9afdfeace.zip |
Minified output
-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 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 |