diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-11 19:17:49 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-11 19:17:49 -0300 |
commit | c9df0ab1285b91fdb11b4b6b13ae1f09e30b53ae (patch) | |
tree | 36e547ba53dae30ed57dee8c947a19d08717621e | |
parent | 6c62b9a66e1e09264b1f136cad31e7606aec1d5f (diff) | |
download | puppet-ikiwiki-c9df0ab1285b91fdb11b4b6b13ae1f09e30b53ae.tar.gz puppet-ikiwiki-c9df0ab1285b91fdb11b4b6b13ae1f09e30b53ae.tar.bz2 |
More cleanup
-rw-r--r-- | templates/deploy.sh.erb | 14 |
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 |