summaryrefslogtreecommitdiff
path: root/createentities
diff options
context:
space:
mode:
authordeva <deva>2008-10-12 08:55:05 +0000
committerdeva <deva>2008-10-12 08:55:05 +0000
commit2fcc8a388b27747bb534f0beba18114720f9b899 (patch)
tree52fe5737c6f2c43982cfedb10f2f58db1dd84c9d /createentities
parentb3bfcb9e6f512b2074dc69bf1af148ec4f4973d4 (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-xcreateentities40
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
-