diff options
Diffstat (limited to 'createentities')
-rwxr-xr-x | createentities | 25 |
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 + |