summaryrefslogtreecommitdiff
path: root/createentities
diff options
context:
space:
mode:
authordeva <deva>2008-10-06 18:57:10 +0000
committerdeva <deva>2008-10-06 18:57:10 +0000
commit88e0126250b15db398f6ce6c41944fceb2723e5b (patch)
tree4c917a719ce5c80538bde36b272d84a829e24ebe /createentities
parent7cd5f7218b47887bc75a6ee61a4e5ae911dac64a (diff)
Added forum symlink.
Diffstat (limited to 'createentities')
-rwxr-xr-xcreateentities11
1 files changed, 10 insertions, 1 deletions
diff --git a/createentities b/createentities
index dbd8df7..dc01a7f 100755
--- a/createentities
+++ b/createentities
@@ -34,4 +34,13 @@ else
cp forum/htdocs/config.php.defaults forum/htdocs/config.php
fi
-
+#
+# Create symlink to forum
+#
+if test -L htdocs/forum
+then
+ echo "htdocs/forum symlink already exists"
+else
+ echo "Creating htdocs/forum symlink"
+ (cd htdocs; ln ../forum/htdocs forum -s)
+fi