summaryrefslogtreecommitdiff
path: root/example_create.sh
diff options
context:
space:
mode:
Diffstat (limited to 'example_create.sh')
-rwxr-xr-xexample_create.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/example_create.sh b/example_create.sh
index 845caf8..c9a957a 100755
--- a/example_create.sh
+++ b/example_create.sh
@@ -49,7 +49,9 @@ for dir in "$reposdir/"*.git/; do
stagit -c ".stagit-build-cache" "$reposdir/$r"
# symlinks
- ln -sf log.html index.html
+ [ -f "about.html" ] \
+ && ln -sf about.html index.html \
+ || ln -sf log.html index.html
ln -sf "$reposdir/$r" ".git"
echo "done"