aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-06-14 20:47:25 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-06-14 20:48:53 +0300
commit59ac2791e57066c3fd75e34f6dd037583eba71b9 (patch)
tree9dd9633c3961f260aa5292e48f885f03c5d006f5 /bin
parent1860e2326f41382bd8c725ea867bf3a3e3c81133 (diff)
downloadarching-kaos-tools-59ac2791e57066c3fd75e34f6dd037583eba71b9.tar.gz
arching-kaos-tools-59ac2791e57066c3fd75e34f6dd037583eba71b9.tar.bz2
arching-kaos-tools-59ac2791e57066c3fd75e34f6dd037583eba71b9.zip
Adapting to renaming of scripts
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-config4
-rwxr-xr-xbin/ak-zblock-show6
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