From d2accf0f1862b81068d4df16e4b28827db245409 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 20 Aug 2023 21:14:06 +0300 Subject: Fixed check --- config.sh | 1 + install.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.sh b/config.sh index 7215991..f13edcc 100755 --- a/config.sh +++ b/config.sh @@ -22,4 +22,5 @@ export AK_FINGERPRINT="$(gpg2 --homedir $AK_GPGHOME --list-keys | grep kaos@kaos export AK_MINEDBLOCKSDIR="$AK_WORKDIR/mined_blocks" export AK_ZBLOCKSFILE="$AK_WORKDIR/zBlocksFile" export AK_ZPAIRSFILE="$AK_WORKDIR/pairsFile" +export AK_CACHEDIR="$AK_WORKDIR/cache" diff --git a/install.sh b/install.sh index 131b219..0b4a525 100755 --- a/install.sh +++ b/install.sh @@ -11,7 +11,7 @@ if [ ! -d $AK_DATADIR ]; then mkdir $AK_DATADIR ;fi if [ ! -d $AK_ARCHIVESDIR ]; then mkdir $AK_ARCHIVESDIR ;fi if [ ! -f $AK_LOGSFILE ]; then touch $AK_LOGSFILE ;fi if [ ! -f $AK_GENESIS ]; then touch $AK_GENESIS;fi -if [ ! -f $AK_MINEDBLOCKS ]; then mkdir $AK_MINEDBLOCKS; fi +if [ ! -d $AK_MINEDBLOCKSDIR ]; then mkdir $AK_MINEDBLOCKSDIR; fi if [ ! -f $AK_ZBLOCKSFILE ]; then mkdir $AK_ZBLOCKSFILE; fi if [ ! -f $AK_ZPAIRSFILE ]; then mkdir $AK_ZPAIRSFILE; fi if [ ! -d $AK_GPGHOME ]; then mkdir $AK_GPGHOME && chmod 700 -R $AK_GPGHOME; fi -- cgit v1.2.3