aboutsummaryrefslogtreecommitdiff
path: root/modules/comments
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/comments
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/comments')
-rwxr-xr-xmodules/comments/main.sh6
1 files changed, 3 insertions, 3 deletions
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