aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/deploy.sh.erb14
1 files 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 <<EOF
-Welcome to your new wiki.
-
-All wikis are supposed to have a [[SandBox]], so this one does too.
-
-----
-
-This wiki is powered by [ikiwiki](http://ikiwiki.info).
-EOF
-fi
+echo "Welcome to your new wiki powered by [ikiwiki](http://ikiwiki.info)." > $SITE/"$INSTANCE"_src_tmp/index.mdwn
# Create ikiwiki repository
ikiwiki-makerepo git $SITE/"$INSTANCE"_src_tmp $REPO