#!/bin/bash # The following creates a mixtape data message # We can extend it by calling the ak-zblock-pack.sh mixtape/add data ## ORIGINAL LINE _ak_modules_mixtapes_usage(){ _ak_modules_mixtapes_title echo "$0 - artist title file" } _ak_modules_mixtapes_main(){ echo $MIXTAPE_FILE "by" $MIXTAPE_ARTIST "named as" $MIXTAPE_TITLE MIXTAPE_IPFS_HASH=$(ak-ipfs-add $MIXTAPE_FILE) MIXTAPE_SIGN_FILE=$MIXTAPE_FILE".asc" gpg2 --homedir $AK_GPGHOME --detach-sign --sign-with $AK_FINGERPRINT --armor --output $MIXTAPE_SIGN_FILE $MIXTAPE_FILE MIXTAPE_SIGNATURE=$(ak-ipfs-add $MIXTAPE_SIGN_FILE) cat > data <