aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-28 14:11:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-28 14:11:01 -0300
commitf238c59f0deab25597713f841c37df6b0135e926 (patch)
tree82f3b20035deae2e92e8b75d95891db56d53a84b
parentfc53a4aa962f1ee3bdcc8c2a66cbc96efd52ca51 (diff)
downloadpuppet-pmwiki-f238c59f0deab25597713f841c37df6b0135e926.tar.gz
puppet-pmwiki-f238c59f0deab25597713f841c37df6b0135e926.tar.bz2
Minor cleanup
-rw-r--r--templates/pmwiki.sh.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/pmwiki.sh.erb b/templates/pmwiki.sh.erb
index 022a7e6..646f2d7 100644
--- a/templates/pmwiki.sh.erb
+++ b/templates/pmwiki.sh.erb
@@ -110,11 +110,11 @@ function pmwiki_install {
# Create folder structure
(
- mkdir -p $SITES/$site/wiki
+ mkdir -p $SITES/$site/wiki/{local,uploads,wiki.d,cookbook}
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