aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/pmwiki.sh.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/pmwiki.sh.erb b/templates/pmwiki.sh.erb
index 789f6cb..022a7e6 100644
--- a/templates/pmwiki.sh.erb
+++ b/templates/pmwiki.sh.erb
@@ -111,10 +111,12 @@ function pmwiki_install {
# Create folder structure
(
mkdir -p $SITES/$site/wiki
+
cd $SITES/$site/wiki
ln -s field.php index.php
mkdir -p local uploads wiki.d cookbook
chown $site. wiki.d
+ touch local/config.php
chown root.$site local/config.php
)