aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-11-20 11:15:45 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-11-20 11:15:45 +0200
commit4aa29c28f54704c3fdba9ba432916ad340447c61 (patch)
tree984b1380fa04b655abddd99230cc06549631c510 /install.sh
parent3dab40bb8dcfb2c4fffaf4ea9827114f40a1ef03 (diff)
downloadarching-kaos-tools-4aa29c28f54704c3fdba9ba432916ad340447c61.tar.gz
arching-kaos-tools-4aa29c28f54704c3fdba9ba432916ad340447c61.tar.bz2
arching-kaos-tools-4aa29c28f54704c3fdba9ba432916ad340447c61.zip
Updates for AKFS
- Changed old directories to comprehensible names - Introduced relevant settings to the API - install script now creates these directories - AK_LEAFSDIR, AK_MAPSDIR, AK_CHUNKSDIR
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 7a62c81..c7cb613 100755
--- a/install.sh
+++ b/install.sh
@@ -135,6 +135,9 @@ if [ ! -f $AK_ZBLOCKSFILE ]; then touch $AK_ZBLOCKSFILE; fi
if [ ! -f $AK_ZPAIRSFILE ]; then touch $AK_ZPAIRSFILE; fi
if [ ! -d $AK_CACHEDIR ]; then mkdir $AK_CACHEDIR; fi
if [ ! -d $AK_GPGHOME ]; then mkdir $AK_GPGHOME && chmod 700 -R $AK_GPGHOME; fi
+if [ ! -d $AK_CHUNKSDIR ]; then mkdir -p $AK_CHUNKSDIR; fi
+if [ ! -d $AK_LEAFSDIR ]; then mkdir -p $AK_LEAFSDIR; fi
+if [ ! -d $AK_MAPSDIR ]; then mkdir -p $AK_MAPSDIR; fi
touch $AK_WORKDIR/logs
logthis(){