summaryrefslogtreecommitdiff
path: root/createentities
diff options
context:
space:
mode:
authordeva <deva>2008-10-11 12:20:40 +0000
committerdeva <deva>2008-10-11 12:20:40 +0000
commitb3ad20b02998a5d12819a1530d6a14a20751eb05 (patch)
tree8a63d07d4b516aa44f2627a335460d4f675c95f5 /createentities
parent07882614bfd402132d2f8df23cc23c2c013b5f14 (diff)
Added 'files' folder to createentities, and fixed a bug in file mode.
Diffstat (limited to 'createentities')
-rwxr-xr-xcreateentities25
1 files changed, 25 insertions, 0 deletions
diff --git a/createentities b/createentities
index 2ed5b53..db9845d 100755
--- a/createentities
+++ b/createentities
@@ -80,3 +80,28 @@ else
chgrp $GROUP forum/data/forum/1
chmod g+w forum/data/forum/1
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
+