aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-config
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-config
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-config')
-rwxr-xr-xbin/ak-config6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ak-config b/bin/ak-config
index b64c731..3c7f641 100755
--- a/bin/ak-config
+++ b/bin/ak-config
@@ -28,7 +28,7 @@ show(){
publish(){
show | jq -M > tmpfile
- ipfs name publish --key=ak-config /ipfs/$(ipfs add -q tmpfile)
+ ak-ipfs-name-publish --key=ak-config /ipfs/$(ak-ipfs-add tmpfile)
if [ "$?" != 0 ]
then
echo -e "\033[0;34mError on publishing\033[0;0m\nYour information:\n"
@@ -39,13 +39,13 @@ publish(){
}
published(){
- ipfs cat $(get_akid)
+ ak-ipfs-cat $(get_akid)
}
# We will be using our public key also to put it in the block later
KEY="tmp-gpg.pub"
gpg2 --armour --output $KEY --export $FINGERPRINT
-GPG_PUB_KEY=$(ipfs add -q $KEY)
+GPG_PUB_KEY=$(ak-ipfs-add $KEY)
rm $KEY
if [ ! -z $1 ]; then