From fbea748c39fdc346612e7b4f18d3518f55cc8424 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 7 May 2023 22:17:35 +0200 Subject: Fixes --- post-receive-stagit | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'post-receive-stagit') diff --git a/post-receive-stagit b/post-receive-stagit index 586a533..57b5732 100755 --- a/post-receive-stagit +++ b/post-receive-stagit @@ -80,6 +80,7 @@ mkpage() { adddownloadbutton $f addbottombar $f done + mkindex } mkindex() { @@ -98,7 +99,8 @@ if [ "$1" = "all" ]; then $bindir/post-receive-stagit cd done -elif [ "$1" != "index" ]; then +elif [ "$1" = "index" ]; then + mkindex +else mkpage fi -mkindex -- cgit v1.3