From 9818679e54d2df0303cf4717fbf3748455005c79 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 16 Mar 2025 14:37:13 +0200 Subject: Syntax fixes --- modules/comments/main.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/comments/main.sh') diff --git a/modules/comments/main.sh b/modules/comments/main.sh index c469ba6..a140a68 100755 --- a/modules/comments/main.sh +++ b/modules/comments/main.sh @@ -45,7 +45,7 @@ else _ak_log_info "zcommentsdir found" fi -_ak_modules_comments_create(){ +function _ak_modules_comments_create(){ if [ ! -z $1 ] then REFER_TO="$1" @@ -71,7 +71,7 @@ _ak_modules_comments_create(){ fi } -_ak_modules_comments_index(){ +function _ak_modules_comments_index(){ FILES="$(ls -1 $ZCOMMENTSDIR)" i=0 for FILE in $FILES @@ -83,7 +83,7 @@ _ak_modules_comments_index(){ done } -_ak_modules_comments_add(){ +function _ak_modules_comments_add(){ TEMP="$(_ak_make_temp_directory)" cd $TEMP if [ -f "$ZCOMMENTSDIR/$1" ]; then -- cgit v1.2.3