aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.com>2022-02-11 09:19:09 +0200
committerkaotisk <kaotisk@arching-kaos.com>2022-02-11 09:19:09 +0200
commit06ab9d299786e3d25b7f3726a6877c4072aa6abe (patch)
treec4b9072921457b6acdce5a4bb378b83f91d3c74a
parentc7d1a43d41f848663c0de87b5c8d38d02ca7d708 (diff)
downloadarching-kaos-tools-06ab9d299786e3d25b7f3726a6877c4072aa6abe.tar.gz
arching-kaos-tools-06ab9d299786e3d25b7f3726a6877c4072aa6abe.tar.bz2
arching-kaos-tools-06ab9d299786e3d25b7f3726a6877c4072aa6abe.zip
files completed?
-rwxr-xr-xbin/ak-files4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-files b/bin/ak-files
index d17a8e0..a25eb70 100755
--- a/bin/ak-files
+++ b/bin/ak-files
@@ -36,7 +36,6 @@ add(){
FILENAME="$1"
main $FILENAME $CRP
cat $TEMPASSIN/data | json_pp
- pack_z_block file/add $TEMPASSIN/data
if [ $? == 0 ]
then
echo "cool"
@@ -58,7 +57,7 @@ main(){
SIGNATURE=$(ipfs add -q $SIGN_FILE)
- cat > data <<EOF
+ cat > $TEMPASSIN/data <<EOF
{
"timestamp":"$(date -u +%s)",
"filename":"$FILE",
@@ -67,6 +66,7 @@ main(){
}
EOF
+ pack_z_block file/add $TEMPASSIN/data
}
title(){