aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-sm-files
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-sm-files
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-sm-files')
-rwxr-xr-xbin/ak-sm-files5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ak-sm-files b/bin/ak-sm-files
index 9548b3b..56e80d1 100755
--- a/bin/ak-sm-files
+++ b/bin/ak-sm-files
@@ -6,6 +6,7 @@ CRD=$(cat .pwd)
PROGRAM="$(basename $0)"
#set -xe
source $AK_LIBDIR/_ak_logit
+source $AK_LIBDIR/_ak_ipfs
source $AK_LIBDIR/_ak_gpg
if [ ! -d $ZFILESDIR ]; then
@@ -61,7 +62,7 @@ main(){
fi
logit "INFO" "Adding $FILENAME to IPFS..."
- FILE_IPFS_HASH=$(ak-ipfs-add $FILENAME)
+ FILE_IPFS_HASH=$(_ak_ipfs_add $FILENAME)
if [ $? == 0 ]; then
logit "INFO" "Added $FILENAME to IPFS"
else
@@ -86,7 +87,7 @@ main(){
fi
logit "INFO" "Adding signature to IPFS"
- SIGNATURE=$(ak-ipfs-add $SIGN_FILE)
+ SIGNATURE=$(_ak_ipfs_add $SIGN_FILE)
if [ $? == 0 ]; then
logit "INFO" "Added"
else