aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ak-articles2
-rwxr-xr-xbin/ak-categories2
-rwxr-xr-xbin/ak-cli2
-rwxr-xr-xbin/ak-comments2
-rwxr-xr-xbin/ak-files2
-rwxr-xr-xbin/ak-folders2
-rwxr-xr-xbin/ak-mixtapes4
-rwxr-xr-xbin/ak-news4
-rwxr-xr-xbin/ak-profile2
-rwxr-xr-xbin/ak-reference2
-rwxr-xr-xbin/ak-repositories2
-rwxr-xr-xbin/ak-sm-files2
-rwxr-xr-xbin/ak-todos2
-rwxr-xr-xbin/ak-transactions2
-rwxr-xr-xbin/ak-zblock-pack (renamed from bin/ak-pack_z_block)0
15 files changed, 16 insertions, 16 deletions
diff --git a/bin/ak-articles b/bin/ak-articles
index 94e2675..5eaf225 100755
--- a/bin/ak-articles
+++ b/bin/ak-articles
@@ -97,7 +97,7 @@ EOF
echo "File $FILE doesn't exist";
exit 2
fi
- ak-pack_z_block "articles/add" $(pwd)/data
+ ak-zblock-pack "articles/add" $(pwd)/data
if [ $? == 0 ]
then
echo "Articles added successfully"
diff --git a/bin/ak-categories b/bin/ak-categories
index 47ee69e..dbcf42c 100755
--- a/bin/ak-categories
+++ b/bin/ak-categories
@@ -87,7 +87,7 @@ EOF
echo "File $FILE doesn't exist";
exit 2
fi
- ak-pack_z_block "news/add" $(pwd)/data
+ ak-zblock-pack "news/add" $(pwd)/data
if [ $? == 0 ]
then
echo "News added successfully"
diff --git a/bin/ak-cli b/bin/ak-cli
index 3fdcf4b..f3de2f4 100755
--- a/bin/ak-cli
+++ b/bin/ak-cli
@@ -231,7 +231,7 @@ help_modules(){
help_zblock(){
printf '
- ak-pack_z_block
+ ak-zblock-pack
'
printf '
ak-zblock-cache
diff --git a/bin/ak-comments b/bin/ak-comments
index 34b83c0..e20ab85 100755
--- a/bin/ak-comments
+++ b/bin/ak-comments
@@ -65,7 +65,7 @@ _ak_modules_comments_add(){
echo "File $FILE doesn't exist";
exit 2
fi
- REFERENCE="$(ak-pack_z_block "comments/add" $(pwd)/data)"
+ REFERENCE="$(ak-zblock-pack "comments/add" $(pwd)/data)"
if [ $? == 0 ]
then
echo "Comment added successfully"
diff --git a/bin/ak-files b/bin/ak-files
index 2946856..25dc69b 100755
--- a/bin/ak-files
+++ b/bin/ak-files
@@ -91,7 +91,7 @@ echo "Printing data..."
cat $TEMPASSIN/data
echo "Publishing..."
- ak-pack_z_block files/add $PWD/data
+ ak-zblock-pack files/add $PWD/data
if [ $? == 0 ]
then
echo "cool"
diff --git a/bin/ak-folders b/bin/ak-folders
index 1049895..2a28dd9 100755
--- a/bin/ak-folders
+++ b/bin/ak-folders
@@ -58,7 +58,7 @@ _ak_modules_folders_main(){
cat data
echo "Publishing..."
- ak-pack_z_block folders/add $(pwd)/data
+ ak-zblock-pack folders/add $(pwd)/data
if [ $? == 0 ]
then
echo "cool"
diff --git a/bin/ak-mixtapes b/bin/ak-mixtapes
index 8ccabcf..04b2490 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 ak-pack_z_block.sh mixtape/add data ## ORIGINAL LINE
+# We can extend it by calling the ak-zblock-pack.sh mixtape/add data ## ORIGINAL LINE
_ak_modules_mixtapes_usage(){
_ak_modules_mixtapes_title
@@ -43,6 +43,6 @@ then
MIXTAPE_FILE="$PWD/$3"
_ak_modules_mixtapes_main
cat $PWD/data | jq -M
- ak-pack_z_block mixtape/add $PWD/data
+ ak-zblock-pack mixtape/add $PWD/data
else _ak_modules_mixtapes_usage
fi
diff --git a/bin/ak-news b/bin/ak-news
index 1f265de..220aafa 100755
--- a/bin/ak-news
+++ b/bin/ak-news
@@ -116,7 +116,7 @@ EOF
echo "File $FILE doesn't exist";
exit 2
fi
- ak-pack_z_block "news/add" $(pwd)/data
+ ak-zblock-pack "news/add" $(pwd)/data
if [ $? == 0 ]
then
echo "News added successfully"
@@ -151,7 +151,7 @@ EOF
echo "File $FILE doesn't exist";
exit 2
fi
- ak-pack_z_block "news/add" $(pwd)/data
+ ak-zblock-pack "news/add" $(pwd)/data
if [ $? == 0 ]
then
echo "News added successfully"
diff --git a/bin/ak-profile b/bin/ak-profile
index a70ffe4..3f72263 100755
--- a/bin/ak-profile
+++ b/bin/ak-profile
@@ -169,7 +169,7 @@ EOF
exit 2
fi
- ak-pack_z_block "profile/add" $(pwd)/data
+ ak-zblock-pack "profile/add" $(pwd)/data
if [ "$?" -ne 0 ]
then
echo "error??"
diff --git a/bin/ak-reference b/bin/ak-reference
index 6f24e87..231af00 100755
--- a/bin/ak-reference
+++ b/bin/ak-reference
@@ -99,7 +99,7 @@ EOF
cat data | jq -M -c > tmp
cat tmp > data
rm tmp
- ak-pack_z_block "references/add" $(pwd)/data
+ ak-zblock-pack "references/add" $(pwd)/data
if [ $? != 0 ]
then
echo "error??"
diff --git a/bin/ak-repositories b/bin/ak-repositories
index 132d758..0344467 100755
--- a/bin/ak-repositories
+++ b/bin/ak-repositories
@@ -107,7 +107,7 @@ add(){
then
ak-ipfs-name-publish --key="$PROJECT.git" /ipfs/$IPFS
printf '{"project":"%s.git","ipns":"%s"}' $PROJECT $try > data
- ak-pack_z_block "repos/add" $PWD/data
+ ak-zblock-pack "repos/add" $PWD/data
echo "Done"
fi
fi
diff --git a/bin/ak-sm-files b/bin/ak-sm-files
index 5d278de..7ee3d42 100755
--- a/bin/ak-sm-files
+++ b/bin/ak-sm-files
@@ -115,7 +115,7 @@ EOF
cat data
echo "Publishing..."
- ak-pack_z_block sha-files/announce $(pwd)/data
+ ak-zblock-pack sha-files/announce $(pwd)/data
if [ $? == 0 ]
then
echo "cool"
diff --git a/bin/ak-todos b/bin/ak-todos
index 2df403d..3b5813f 100755
--- a/bin/ak-todos
+++ b/bin/ak-todos
@@ -95,7 +95,7 @@ EOF
echo "File $FILE doesn't exist";
exit 2
fi
- ak-pack_z_block "todos/add" $(pwd)/data
+ ak-zblock-pack "todos/add" $(pwd)/data
if [ $? == 0 ]
then
ak-logthis "Todos added successfully"
diff --git a/bin/ak-transactions b/bin/ak-transactions
index 221b4fd..9573147 100755
--- a/bin/ak-transactions
+++ b/bin/ak-transactions
@@ -45,6 +45,6 @@ then
AMOUNT="$3"
_ak_modules_transactions_main
cat $PWD/data | jq -M
- ak-pack_z_block transaction/add $PWD/data
+ ak-zblock-pack transaction/add $PWD/data
else _ak_modules_transactions_usage
fi
diff --git a/bin/ak-pack_z_block b/bin/ak-zblock-pack
index 5105f38..5105f38 100755
--- a/bin/ak-pack_z_block
+++ b/bin/ak-zblock-pack