From 2fcc8a388b27747bb534f0beba18114720f9b899 Mon Sep 17 00:00:00 2001 From: deva Date: Sun, 12 Oct 2008 08:55:05 +0000 Subject: Now files, forums and image cache create their storage dirs themselves, instead of createentities (when they do not already exists that is...) --- createentities | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'createentities') diff --git a/createentities b/createentities index 6b6c775..1ea8d53 100755 --- a/createentities +++ b/createentities @@ -18,8 +18,6 @@ else chmod g+wr data/users.xml fi - - # # Create config files # @@ -49,41 +47,3 @@ else echo "Creating htdocs/forum symlink" (cd htdocs; ln ../forum/htdocs forum -s) fi - - -# -# Create a forum storage dir -# -if test -d forum/data/forum -then - echo "forum/data/forum already exists" -else - mkdir forum/data/forum - chgrp $GROUP forum/data/forum - chmod g+w forum/data/forum -fi - -# -# Create imagecache -# -if test -d forum/data/imagecache -then - echo "forum/data/imagecache already exists" -else - mkdir forum/data/imagecache - chgrp $GROUP forum/data/imagecache - chmod g+w forum/data/imagecache -fi - -# -# Create files -# -if test -d forum/data/files -then - echo "forum/data/files already exists" -else - mkdir forum/data/files - chgrp $GROUP forum/data/files - chmod g+w forum/data/files -fi - -- cgit v1.2.3