From 4f700f3d5e447325fda5d607e9d713c3880cfd2b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 11 Apr 2013 20:37:40 -0300 Subject: Wipe source folder before deployment --- templates/deploy.sh.erb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3