From 59ac2791e57066c3fd75e34f6dd037583eba71b9 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 14 Jun 2023 20:47:25 +0300 Subject: Adapting to renaming of scripts --- bin/ak-config | 4 ++-- bin/ak-zblock-show | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/ak-config b/bin/ak-config index 3c7f641..0dfed8e 100755 --- a/bin/ak-config +++ b/bin/ak-config @@ -19,7 +19,7 @@ usage(){ show(){ echo ' { - "profile":'$(profile index | jq -M)', + "profile":'$(ak-profile index | jq -M)', "genesis":"'$(cat $HOME/.arching-kaos/config/zgenesis)'", "gpg":"'$GPG_PUB_KEY'", "zchain":"'$(cat $HOME/.arching-kaos/config/zchain)'" @@ -39,7 +39,7 @@ publish(){ } published(){ - ak-ipfs-cat $(get_akid) + ak-ipfs-cat $(ak-get-akid) | jq -c } # We will be using our public key also to put it in the block later diff --git a/bin/ak-zblock-show b/bin/ak-zblock-show index f3e2a15..e58ca68 100755 --- a/bin/ak-zblock-show +++ b/bin/ak-zblock-show @@ -118,7 +118,7 @@ counter=0 # We create files named after each ZBLOCK IPFS CID for later # reference. Files are empty. - touch $ZBLOCKDIR/$zblock + touch $AK_ZBLOCKDIR/$zblock logit "[INFO]" "Created reference" # Supposingly you are on a safe environment and you only have @@ -148,7 +148,7 @@ counter=0 source tmp-block logit "[INFO]" "BLOCK $block SOURCED" - touch $BLOCKDIR/$block + touch $AK_BLOCKDIR/$block logit "[INFO]" "BLOCK REFERENCED" module="$(echo $action | sed -e 's/\// /g' | awk '{ print $1 }')" logit "[INFO]" "DATA is $module module." @@ -211,7 +211,7 @@ counter=0 # DATA (but we don't source it's stuff) # Only print to stdout #ak-ipfs-cat $data - touch $DATADIR/$data + touch $AK_DATADIR/$data # Now, since we sourced the BLOCK to our terminal, we can search # for $previous variable. In case we don't find one, we append one -- cgit v1.2.3