From: Silvio Rhatto Date: Thu, 11 Apr 2013 23:37:40 +0000 (-0300) Subject: Wipe source folder before deployment X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4f700f3d5e447325fda5d607e9d713c3880cfd2b;p=puppet-ikiwiki.git Wipe source folder before deployment --- diff --git a/templates/deploy.sh.erb b/templates/deploy.sh.erb index bd4031d..edcae12 100644 --- a/templates/deploy.sh.erb +++ b/templates/deploy.sh.erb @@ -26,6 +26,7 @@ fi # Setup source folder mkdir -p $SITE/"$INSTANCE"_src_tmp/ +rm -rf $SITE/"$INSTANCE"_src # Create initial page echo "Welcome to your new wiki powered by [ikiwiki](http://ikiwiki.info)." > $SITE/"$INSTANCE"_src_tmp/index.mdwn