aboutsummaryrefslogtreecommitdiff
path: root/post-receive-stagit
diff options
context:
space:
mode:
Diffstat (limited to 'post-receive-stagit')
-rwxr-xr-xpost-receive-stagit6
1 files changed, 4 insertions, 2 deletions
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() {
80 adddownloadbutton $f 80 adddownloadbutton $f
81 addbottombar $f 81 addbottombar $f
82 done 82 done
83 mkindex
83} 84}
84 85
85mkindex() { 86mkindex() {
@@ -98,7 +99,8 @@ if [ "$1" = "all" ]; then
98 $bindir/post-receive-stagit 99 $bindir/post-receive-stagit
99 cd 100 cd
100 done 101 done
101elif [ "$1" != "index" ]; then 102elif [ "$1" = "index" ]; then
103 mkindex
104else
102 mkpage 105 mkpage
103fi 106fi
104mkindex

Generated with cgit - Back to sebastiano.tronto.net