From 9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 3 Apr 2023 00:24:49 +0300 Subject: Renaming to prefix convention, introduced ipfs wrappers so it can be easier to maintain, changes in filesplitter and filejoiner as they move sm submodule namespace... like there are namespaces in bash or something --- bin/ak-profile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bin/ak-profile') diff --git a/bin/ak-profile b/bin/ak-profile index 1aa6e9c..63df6fd 100755 --- a/bin/ak-profile +++ b/bin/ak-profile @@ -42,7 +42,7 @@ show(){ if [ ! -z $1 ] then logit "[INFO]" "Working with $1" - ipfs cat $(echo $(ipfs cat $1) | jq '.ipfs' -r) + ak-ipfs-cat $(echo $(ak-ipfs-cat $1) | jq '.ipfs' -r) else echo "No DATA provided" exit 1 @@ -75,7 +75,7 @@ EOF if [ $? == 0 ] then echo "Added successfully... proceeding" - IPFS_FILE=$(ipfs add -q $ZPROPERTY_FILE) + IPFS_FILE=$(ak-ipfs-add $ZPROPERTY_FILE) echo "Prop writting,,, $IPFS_FILE" add $ZPROPERTY_KEY echo "Adding to git repo..." @@ -167,10 +167,10 @@ add(){ if [ -f $ZPROFILEDIR/$1 ]; then FILE="$ZPROFILEDIR/$1" echo "Adding from " $FILE - FILE_IPFS_HASH=$(ipfs add -q $FILE) + FILE_IPFS_HASH=$(ak-ipfs-add $FILE) FILE_SIGN_FILE=$(pwd)/$1".asc" gpg2 --detach-sign --sign-with $FINGERPRINT --armor --output $FILE_SIGN_FILE $FILE - FILE_SIGNATURE=$(ipfs add -q $FILE_SIGN_FILE) + FILE_SIGNATURE=$(ak-ipfs-add $FILE_SIGN_FILE) cat > data <