aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/deploy.sh.erb1
1 files changed, 1 insertions, 0 deletions
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