aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-zblock-gen-html
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-27 09:34:01 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-27 09:34:01 +0200
commit465d5db06e56dc21072a8ff01258f6815d340b00 (patch)
treeae16ecf2f980b054caa2f97f48e8fa5f22b768a6 /bin/ak-zblock-gen-html
parent1cb6c8bef840a96baa37392e9833a7674f805a83 (diff)
downloadarching-kaos-tools-465d5db06e56dc21072a8ff01258f6815d340b00.tar.gz
arching-kaos-tools-465d5db06e56dc21072a8ff01258f6815d340b00.tar.bz2
arching-kaos-tools-465d5db06e56dc21072a8ff01258f6815d340b00.zip
new lib _ak_ipfs
Diffstat (limited to 'bin/ak-zblock-gen-html')
-rwxr-xr-xbin/ak-zblock-gen-html13
1 files changed, 7 insertions, 6 deletions
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 " <td>"
echo " <details>"
echo " <summary>$zblock</summary>"
- echo " <pre>$(ak-ipfs-cat $zblock | jq)</pre>"
+ echo " <pre>$(_ak_ipfs_cat $zblock | jq)</pre>"
echo " </details>"
echo " </td>"
echo " </tr>"
@@ -112,7 +113,7 @@ then
echo " <td>"
echo " <details>"
echo " <summary>$block</summary>"
- echo " <pre>$(ak-ipfs-cat $block | jq)</pre>"
+ echo " <pre>$(_ak_ipfs_cat $block | jq)</pre>"
echo " </details>"
echo " </td>"
echo " </tr>"
@@ -123,7 +124,7 @@ then
echo " <td>"
echo " <details>"
echo " <summary>$block_signature</summary>"
- echo " <pre>$(ak-ipfs-cat $block_signature)</pre>"
+ echo " <pre>$(_ak_ipfs_cat $block_signature)</pre>"
echo " </details>"
echo " </td>"
echo " </tr>"
@@ -158,7 +159,7 @@ then
echo " <td>"
echo " <details>"
echo " <summary>$gpg</summary>"
- echo " <pre>$(ak-ipfs-cat $gpg)</pre>"
+ echo " <pre>$(_ak_ipfs_cat $gpg)</pre>"
echo " </details>"
echo " </td>"
echo " </tr>"
@@ -188,7 +189,7 @@ then
echo " <td>"
echo " <details>"
echo " <summary>$detach</summary>"
- echo " <pre>$(ak-ipfs-cat $detach)</pre>"
+ echo " <pre>$(_ak_ipfs_cat $detach)</pre>"
echo " </details>"
echo " </td>"
echo " </tr>"
@@ -207,7 +208,7 @@ then
echo " <td>"
echo " <details>"
echo " <summary>$(echo $datablock | jq -r '.detach')</summary>"
- echo " <pre>$(ak-ipfs-cat $(echo $datablock | jq -r '.detach'))</pre>"
+ echo " <pre>$(_ak_ipfs_cat $(echo $datablock | jq -r '.detach'))</pre>"
echo " </details>"
echo " </td>"
echo " </tr>"