aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-11 19:17:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-11 19:17:49 -0300
commitc9df0ab1285b91fdb11b4b6b13ae1f09e30b53ae (patch)
tree36e547ba53dae30ed57dee8c947a19d08717621e
parent6c62b9a66e1e09264b1f136cad31e7606aec1d5f (diff)
downloadpuppet-ikiwiki-c9df0ab1285b91fdb11b4b6b13ae1f09e30b53ae.tar.gz
puppet-ikiwiki-c9df0ab1285b91fdb11b4b6b13ae1f09e30b53ae.tar.bz2
More cleanup
-rw-r--r--templates/deploy.sh.erb14
1 files changed, 2 insertions, 12 deletions
diff --git a/templates/deploy.sh.erb b/templates/deploy.sh.erb
index b851d63..80b1b36 100644
--- a/templates/deploy.sh.erb
+++ b/templates/deploy.sh.erb
@@ -25,20 +25,10 @@ elif [ ! -e "$CONF/$NAME.setup" ]; then
fi
# Setup source folder
-mkdir -p $SITE/"$INSTANCE"_src/ $SITE/"$INSTANCE"_src_tmp/
+mkdir -p $SITE/"$INSTANCE"_src_tmp/
# Create initial page
-if [ ! -e $SITE/"$INSTANCE"_src_tmp/index.mdwn ]; then
- echo > $SITE/"$INSTANCE"_src_tmp/index.mdwn <<EOF
-Welcome to your new wiki.
-
-All wikis are supposed to have a [[SandBox]], so this one does too.
-
-----
-
-This wiki is powered by [ikiwiki](http://ikiwiki.info).
-EOF
-fi
+echo "Welcome to your new wiki powered by [ikiwiki](http://ikiwiki.info)." > $SITE/"$INSTANCE"_src_tmp/index.mdwn
# Create ikiwiki repository
ikiwiki-makerepo git $SITE/"$INSTANCE"_src_tmp $REPO