diff options
author | kaotisk <kaotisk@arching-kaos.com> | 2022-02-11 09:19:09 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.com> | 2022-02-11 09:19:09 +0200 |
commit | 06ab9d299786e3d25b7f3726a6877c4072aa6abe (patch) | |
tree | c4b9072921457b6acdce5a4bb378b83f91d3c74a /bin/ak-files | |
parent | c7d1a43d41f848663c0de87b5c8d38d02ca7d708 (diff) | |
download | arching-kaos-tools-06ab9d299786e3d25b7f3726a6877c4072aa6abe.tar.gz arching-kaos-tools-06ab9d299786e3d25b7f3726a6877c4072aa6abe.tar.bz2 arching-kaos-tools-06ab9d299786e3d25b7f3726a6877c4072aa6abe.zip |
files completed?
Diffstat (limited to 'bin/ak-files')
-rwxr-xr-x | bin/ak-files | 4 |
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(){ |