aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-08-20 21:14:06 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-08-20 21:14:06 +0300
commitd2accf0f1862b81068d4df16e4b28827db245409 (patch)
tree773bc361ed7f59fc67194fcf4583df25f9a0a6ae
parent36a98974e4144fc7a387aa73a37daf040c3131be (diff)
downloadarching-kaos-tools-d2accf0f1862b81068d4df16e4b28827db245409.tar.gz
arching-kaos-tools-d2accf0f1862b81068d4df16e4b28827db245409.tar.bz2
arching-kaos-tools-d2accf0f1862b81068d4df16e4b28827db245409.zip
Fixed check
-rwxr-xr-xconfig.sh1
-rwxr-xr-xinstall.sh2
2 files changed, 2 insertions, 1 deletions
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