aboutsummaryrefslogtreecommitdiff
path: root/modules/follow/lib.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2025-03-16 14:37:13 +0200
committerkaotisk <kaotisk@arching-kaos.org>2025-03-16 14:37:13 +0200
commit9818679e54d2df0303cf4717fbf3748455005c79 (patch)
tree2591b127562cf0789e4f804533c1b76c620c246c /modules/follow/lib.sh
parent4766e0f8a7f35b2c87c647656bdd4f1834e80cec (diff)
downloadarching-kaos-tools-9818679e54d2df0303cf4717fbf3748455005c79.tar.gz
arching-kaos-tools-9818679e54d2df0303cf4717fbf3748455005c79.tar.bz2
arching-kaos-tools-9818679e54d2df0303cf4717fbf3748455005c79.zip
Syntax fixes
Diffstat (limited to 'modules/follow/lib.sh')
-rwxr-xr-xmodules/follow/lib.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/follow/lib.sh b/modules/follow/lib.sh
index 885331e..14cfab7 100755
--- a/modules/follow/lib.sh
+++ b/modules/follow/lib.sh
@@ -22,7 +22,7 @@ source $AK_LIBDIR/_ak_ipfs
FOLLOWING="$AK_WORKDIR/following"
-_ak_follow_follow(){
+function _ak_follow_follow(){
if [ ! -z $1 ]
then
grep $1 $FOLLOWING
@@ -45,7 +45,7 @@ _ak_follow_follow(){
exit 1
}
-_ak_follow_list(){
+function _ak_follow_list(){
if [ -f $FOLLOWING ]
then
cat $FOLLOWING
@@ -56,7 +56,7 @@ _ak_follow_list(){
fi
}
-_ak_follow_unfollow(){
+function _ak_follow_unfollow(){
FOLLOWING="$HOME/.arching-kaos/following"
fentries="$(cat $FOLLOWING)"
if [ ! -z $1 ]