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/news/main.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/news/main.sh') diff --git a/modules/news/main.sh b/modules/news/main.sh index 1a0b5e0..8770eea 100755 --- a/modules/news/main.sh +++ b/modules/news/main.sh @@ -48,7 +48,7 @@ fi cd $ZNEWSDIR _ak_modules_news_create(){ - TEMP="$(ak-tempassin)" + TEMP="$(_ak_make_temp_directory)" cd $TEMP cd curpath="$(pwd)" @@ -113,7 +113,7 @@ _ak_modules_news_import(){ } _ak_modules_news_add_from_file(){ - TEMP="$(ak-tempassin)" + TEMP="$(_ak_make_temp_directory)" if [ -f "$1" ]; then FILE="$(realpath $1)" cp $FILE $ZNEWSDIR @@ -152,7 +152,7 @@ EOF } _ak_modules_news_add(){ - TEMP="$(ak-tempassin)" + TEMP="$(_ak_make_temp_directory)" cd $TEMP if [ -f $ZNEWSDIR/$1 ]; then FILE="$1" -- cgit v1.2.3