]> gitweb.fluxo.info Git - puppet-ikiwiki.git/commitdiff
More cleanup
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 11 Apr 2013 22:17:49 +0000 (19:17 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 11 Apr 2013 22:17:49 +0000 (19:17 -0300)
templates/deploy.sh.erb

index b851d632a18caf7a307f222faf41f3ac654928aa..80b1b36d4bca258608191c3f0dba38552005cd7e 100644 (file)
@@ -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