From bf87d94330c6c6153eab9f1a3016efeef5ebc754 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 11 Mar 2024 19:36:28 +0200 Subject: Introduced ./lib for common stuff ofc, logit was the first lib to add... finally --- bin/ak-files | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bin/ak-files') diff --git a/bin/ak-files b/bin/ak-files index 299bf4a..626bc2b 100755 --- a/bin/ak-files +++ b/bin/ak-files @@ -3,9 +3,8 @@ ZFILESDIR="$AK_WORKDIR/files" TEMP="/tmp/aktmp" PROGRAM="$(basename $0)" -logit(){ - ak-logthis "$PROGRAM" "$1" "$2" -} +source $AK_LIBDIR/logit + if [ ! -d $ZFILESDIR ]; then mkdir $ZFILESDIR if [ $? == 0 ] -- cgit v1.2.3