diff options
author | deva <deva> | 2008-10-12 08:55:05 +0000 |
---|---|---|
committer | deva <deva> | 2008-10-12 08:55:05 +0000 |
commit | 2fcc8a388b27747bb534f0beba18114720f9b899 (patch) | |
tree | 52fe5737c6f2c43982cfedb10f2f58db1dd84c9d /createentities | |
parent | b3bfcb9e6f512b2074dc69bf1af148ec4f4973d4 (diff) |
Now files, forums and image cache create their storage dirs themselves, instead of createentities (when they do not already exists that is...)
Diffstat (limited to 'createentities')
-rwxr-xr-x | createentities | 40 |
1 files changed, 0 insertions, 40 deletions
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 - |