From 55626cf414f947be0ce5c8300f97f99421c2e222 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 24 Jun 2024 05:41:52 +0300 Subject: Reworked tempassin to lib/_ak_script --- modules/comments/main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/comments') diff --git a/modules/comments/main.sh b/modules/comments/main.sh index f5ebabc..925bf90 100755 --- a/modules/comments/main.sh +++ b/modules/comments/main.sh @@ -38,7 +38,7 @@ _ak_modules_comments_create(){ echo "ERROR" "No reference given" exit 1 fi - TEMP="$(ak-tempassin)" + TEMP="$(_ak_make_temp_directory)" cd $TEMP export COMMENTS_FILE="$(date -u +%s)" vi $COMMENTS_FILE @@ -68,7 +68,7 @@ _ak_modules_comments_index(){ } _ak_modules_comments_add(){ - TEMP="$(ak-tempassin)" + TEMP="$(_ak_make_temp_directory)" cd $TEMP if [ -f "$ZCOMMENTSDIR/$1" ]; then FILE=$ZCOMMENTSDIR/$1 -- cgit v1.2.3