aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-28 14:18:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-28 14:18:21 -0300
commit93d729b5e1bfd2e6e794c3f0b1d3fb00e6adf891 (patch)
treec906cd699244362d389534031fb5ef12be1e8ea0
parentf238c59f0deab25597713f841c37df6b0135e926 (diff)
downloadpuppet-pmwiki-93d729b5e1bfd2e6e794c3f0b1d3fb00e6adf891.tar.gz
puppet-pmwiki-93d729b5e1bfd2e6e794c3f0b1d3fb00e6adf891.tar.bz2
Oops
-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 646f2d7..8a4b77f 100644
--- a/templates/pmwiki.sh.erb
+++ b/templates/pmwiki.sh.erb
@@ -124,7 +124,7 @@ function pmwiki_install {
echo '<?php include("/var/www/data/wiki/pmwiki.php"); ?>' > $SITES/$site/wiki/field.php
# Setup redirections
- echo > $SITES/$site/wiki/.htaccess <<-EOF
+ cat > $SITES/$site/wiki/.htaccess <<-EOF
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^/?$ https://$site.<%= domain %>/Main/HomePage [R=permanent,QSA,L]
@@ -132,7 +132,7 @@ RewriteRule ^([^/a-z].*) field.php?n=$1 [QSA,L]
EOF
# Setup config file
- echo > $SITES/$site/wiki/local/config.php <<-EOF
+ cat > $SITES/$site/wiki/local/config.php <<-EOF
<?php if (!defined('PmWiki')) exit();
$ScriptUrl = "https://$site.<%= domain %>";