aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-01-21 08:11:53 +0200
committerkaotisk <kaotisk@arching-kaos.org>2023-01-21 08:11:53 +0200
commitb60e089c93cd8b93bd87e5a3a42bae071d6d4ad0 (patch)
tree7d01d5709ce46f07caaff89a2413c7900cfb32bd /bin
parent4d3f83f631e5513fbdec16f056dc8a7d48871479 (diff)
downloadarching-kaos-tools-b60e089c93cd8b93bd87e5a3a42bae071d6d4ad0.tar.gz
arching-kaos-tools-b60e089c93cd8b93bd87e5a3a42bae071d6d4ad0.tar.bz2
arching-kaos-tools-b60e089c93cd8b93bd87e5a3a42bae071d6d4ad0.zip
Expands the whole data file instead of outputing only ipfs and detach values
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak-data-expand2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-data-expand b/bin/ak-data-expand
index 07e4d7d..81a1281 100755
--- a/bin/ak-data-expand
+++ b/bin/ak-data-expand
@@ -88,7 +88,7 @@ then
exit 1
fi
logit "[INFO]" "Block signature verified"
- echo -n '"'$1'":{"ipfs":"'$DATA'","detach":"'$DETACH'"},'
+ echo -n '"data":{"'$1'":'$(ipfs --timeout=10s cat $1)'},'
exit 0
else
echo "Usage: $PROGRAM HASH GPG"