diff options
-rwxr-xr-x | createentities | 11 |
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 |