From 0e6bff66ecfdd263d182877f624ed996fc08503f Mon Sep 17 00:00:00 2001 From: p4bl0 Date: Sat, 24 Jul 2010 04:27:49 +0200 Subject: [PATCH] README is now the first article on fresh install --- build.sh | 2 +- install.sh | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 5a75cfe..1f3e40d 100755 --- a/build.sh +++ b/build.sh @@ -12,7 +12,7 @@ include_file() { cp install.sh tmp1 i=1 for f in archives.html article.html \ - fugitive.css print.css \ + fugitive.css print.css README \ post-commit.sh post-receive.sh; do j=$((1 - i)) include_file tmp$i $f > tmp$j diff --git a/install.sh b/install.sh index 4320f7e..8505ef9 100644 --- a/install.sh +++ b/install.sh @@ -45,6 +45,11 @@ fugitive_install() { EOF fugitive_write_template > _templates/archives.html < _articles/README </dev/null git commit -m "fugitive inital import" >/dev/null echo "done." - echo -n "Preventing git to track temp files... " - echo "*~" > .git/info/exclude + echo -n "Preventing git to track temporary and generated files... " + echo "*~\nindex.html\narchives.html" > .git/info/exclude echo "done." cd - >/dev/null echo "Installation complete, please see the README file for an howto."