From c9df0ab1285b91fdb11b4b6b13ae1f09e30b53ae Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 11 Apr 2013 19:17:49 -0300 Subject: More cleanup --- templates/deploy.sh.erb | 14 ++------------ 1 file 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 < $SITE/"$INSTANCE"_src_tmp/index.mdwn # Create ikiwiki repository ikiwiki-makerepo git $SITE/"$INSTANCE"_src_tmp $REPO -- cgit v1.2.3