diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-07 22:17:35 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-07 22:17:35 +0200 |
| commit | fbea748c39fdc346612e7b4f18d3518f55cc8424 (patch) | |
| tree | 89554aaf9223a587adc4ed7e3303417c6c81dcca /post-receive-stagit | |
| parent | 6ed532078680a6735811aa40a3b41c2a77c0da42 (diff) | |
| download | git-hooks-fbea748c39fdc346612e7b4f18d3518f55cc8424.tar.gz git-hooks-fbea748c39fdc346612e7b4f18d3518f55cc8424.zip | |
Fixes
Diffstat (limited to '')
| -rwxr-xr-x | post-receive-stagit | 6 |
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 | ||
| 85 | mkindex() { | 86 | mkindex() { |
| @@ -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 |
| 101 | elif [ "$1" != "index" ]; then | 102 | elif [ "$1" = "index" ]; then |
| 103 | mkindex | ||
| 104 | else | ||
| 102 | mkpage | 105 | mkpage |
| 103 | fi | 106 | fi |
| 104 | mkindex | ||
