aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-mixtapes
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-04-03 00:24:49 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-04-03 00:24:49 +0300
commit9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1 (patch)
tree5f16ff3c7506b653862e0171d71163074f67c96e /bin/ak-mixtapes
parentfe1fb88889b2c3949383c254f3058da24ba5e3f2 (diff)
downloadarching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.tar.gz
arching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.tar.bz2
arching-kaos-tools-9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1.zip
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
Diffstat (limited to 'bin/ak-mixtapes')
-rwxr-xr-xbin/ak-mixtapes8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ak-mixtapes b/bin/ak-mixtapes
index a40f33b..c78a709 100755
--- a/bin/ak-mixtapes
+++ b/bin/ak-mixtapes
@@ -1,6 +1,6 @@
#!/bin/bash
# The following creates a mixtape data message
-# We can extend it by calling the pack_z_block.sh mixtape/add data
+# We can extend it by calling the ak-pack_z_block.sh mixtape/add data
usage(){
title
@@ -10,12 +10,12 @@ usage(){
main(){
echo $MIXTAPE_FILE "by" $MIXTAPE_ARTIST "named as" $MIXTAPE_TITLE
- MIXTAPE_IPFS_HASH=$(ipfs add -q $MIXTAPE_FILE)
+ MIXTAPE_IPFS_HASH=$(ak-ipfs-add $MIXTAPE_FILE)
MIXTAPE_SIGN_FILE=$MIXTAPE_FILE".asc"
gpg2 --detach-sign --sign-with $FINGERPRINT --armor --output $MIXTAPE_SIGN_FILE $MIXTAPE_FILE
- MIXTAPE_SIGNATURE=$(ipfs add -q $MIXTAPE_SIGN_FILE)
+ MIXTAPE_SIGNATURE=$(ak-ipfs-add $MIXTAPE_SIGN_FILE)
cat > data <<EOF
{
@@ -43,6 +43,6 @@ then
MIXTAPE_FILE="$PWD/$3"
main
cat $PWD/data | jq -M
- # sh pack_z_block.sh mixtape/add $PWD/data
+ # sh ak-pack_z_block.sh mixtape/add $PWD/data
else usage
fi