summaryrefslogtreecommitdiff
path: root/createentities
diff options
context:
space:
mode:
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