diff options
-rwxr-xr-x | bin/follow | 14 |
1 files changed, 14 insertions, 0 deletions
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 |