From 465d5db06e56dc21072a8ff01258f6815d340b00 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 27 Mar 2024 09:34:01 +0200 Subject: new lib _ak_ipfs --- bin/ak-zblock-gen-html | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'bin/ak-zblock-gen-html') diff --git a/bin/ak-zblock-gen-html b/bin/ak-zblock-gen-html index 0ad01ad..289823b 100755 --- a/bin/ak-zblock-gen-html +++ b/bin/ak-zblock-gen-html @@ -1,5 +1,6 @@ #!/bin/bash PROGRAM="$(basename $0)" +source $AK_LIBDIR/_ak_ipfs time_started=$(date -u +%s.%N) ss=$(echo $time_started | cut -d '.' -f 1) @@ -101,7 +102,7 @@ then echo " " echo "
" echo " $zblock" - echo "
$(ak-ipfs-cat $zblock | jq)
" + echo "
$(_ak_ipfs_cat $zblock | jq)
" echo "
" echo " " echo " " @@ -112,7 +113,7 @@ then echo " " echo "
" echo " $block" - echo "
$(ak-ipfs-cat $block | jq)
" + echo "
$(_ak_ipfs_cat $block | jq)
" echo "
" echo " " echo " " @@ -123,7 +124,7 @@ then echo " " echo "
" echo " $block_signature" - echo "
$(ak-ipfs-cat $block_signature)
" + echo "
$(_ak_ipfs_cat $block_signature)
" echo "
" echo " " echo " " @@ -158,7 +159,7 @@ then echo " " echo "
" echo " $gpg" - echo "
$(ak-ipfs-cat $gpg)
" + echo "
$(_ak_ipfs_cat $gpg)
" echo "
" echo " " echo " " @@ -188,7 +189,7 @@ then echo " " echo "
" echo " $detach" - echo "
$(ak-ipfs-cat $detach)
" + echo "
$(_ak_ipfs_cat $detach)
" echo "
" echo " " echo " " @@ -207,7 +208,7 @@ then echo " " echo "
" echo " $(echo $datablock | jq -r '.detach')" - echo "
$(ak-ipfs-cat $(echo $datablock | jq -r '.detach'))
" + echo "
$(_ak_ipfs_cat $(echo $datablock | jq -r '.detach'))
" echo "
" echo " " echo " " -- cgit v1.2.3