From 60cab7a828f53d3193370e5536786c2daf8ec62b Mon Sep 17 00:00:00 2001
From: onefang
Date: Fri, 3 Sep 2021 03:04:35 +1000
Subject: More messing with sledjchisl created directories.

---
 src/sledjchisl/sledjchisl.c | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 3269f60..5269806 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -8570,9 +8570,9 @@ Build the OpenSim.
     tmp = xmprintf("%s/config", scRoot);
     if ((! qfile_exist(tmp))		  && (! qfile_mkdir(tmp,	S_IRWXU | S_IRGRP | S_IXGRP, true)))  C("Unable to create path %s", tmp);
     free(tmp);
-//    tmp = xmprintf("%s/AssetFiles/data", scRoot);
-//    if ((! qfile_exist(tmp))		  && (! qfile_mkdir(tmp,	S_IRWXU | S_IRGRP | S_IXGRP, true)))  C("Unable to create path %s", tmp);
-//    free(tmp);
+    tmp = xmprintf("%s/AssetFiles/data", scRoot);
+    if ((! qfile_exist(tmp))		  && (! qfile_mkdir(tmp,	S_IRWXU | S_IRGRP | S_IXGRP, true)))  C("Unable to create path %s", tmp);
+    free(tmp);
 //    tmp = xmprintf("%s/AssetFiles/tmp/spool", scRoot);
 //    if ((! qfile_exist(tmp))		  && (! qfile_mkdir(tmp,	S_IRWXU | S_IRGRP | S_IXGRP, true)))  C("Unable to create path %s", tmp);
 //    free(tmp);
@@ -8585,11 +8585,24 @@ Make sure correct permissions are set everywhere.
     sudo chown -R ${OS_USER}:${OS_USER} ${OS_PATH}
 
 Create the /opt/opensim-SC directory structure.
-.	AssetFiles/data		Think OpenSim creates all the sub directories itself?
-.	AssetFiles/tmp/spool	Think OpenSim creates all the sub directories itself?
+.	AssetFiles		OpenSim DOES NOT create all the sub directories itself?
++	    tmp/spool
+-	    data
 .	config/config.ini	(move that to etc/config.ini later)
 .	var/backups		Copy examples/var/backups/*.IAR files, which are the newbie starter inventories.
 .	var/cache		Think OpenSim creates all the sub directories itself?
+	    ScriptEngines
+	    j2kDecodeCache
+	    maptiles
+	    addin-db-002	Though I think it crashes the first time while creating this?  Might be the registry thingy?
+-	    DataSnapshot
+-	    MapImageCache
+-	    MeshCache
+-	    addin-db-001
+-	    addin-db-003
+-	    addin-db-004
+-	    assetcache		Obsolete now we are using Linux memory cache?
+-	    bakes
 .	var/run			HAS to be setup correctly BEFORE we try to start up tmux.
 	web			// Fill it with default web stuff from current -> example..
 */
-- 
cgit v1.1