aboutsummaryrefslogtreecommitdiff
path: root/install.sh
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 /install.sh
parent36a98974e4144fc7a387aa73a37daf040c3131be (diff)
downloadarching-kaos-tools-d2accf0f1862b81068d4df16e4b28827db245409.tar.gz
arching-kaos-tools-d2accf0f1862b81068d4df16e4b28827db245409.tar.bz2
arching-kaos-tools-d2accf0f1862b81068d4df16e4b28827db245409.zip
Fixed check
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
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