From: Silvio Rhatto Date: Thu, 11 Apr 2013 22:17:49 +0000 (-0300) Subject: More cleanup X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=c9df0ab1285b91fdb11b4b6b13ae1f09e30b53ae;p=puppet-ikiwiki.git More cleanup --- 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 < $SITE/"$INSTANCE"_src_tmp/index.mdwn # Create ikiwiki repository ikiwiki-makerepo git $SITE/"$INSTANCE"_src_tmp $REPO