From 92ae94d36bfb8730b8c07f14feca990e0701bb43 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 26 Dec 2021 06:55:54 +0200 Subject: Added follow tool --- bin/follow | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 bin/follow diff --git a/bin/follow b/bin/follow new file mode 100755 index 0000000..76851e0 --- /dev/null +++ b/bin/follow @@ -0,0 +1,14 @@ +#!/bin/bash +FOLLOWING="$HOME/.arching-kaos/following" +if [ ! -z $1 ] +then + echo $1 >> $FOLLOWING + IPFS=$(ipfs add -q $FOLLOWING) + if [ $? == 0 ] + then + profile set following $IPFS + else + logthis "Addition aborted" + exit 1 + fi +fi -- cgit v1.2.3