diff options
Diffstat (limited to 'post-receive-stagit')
| -rwxr-xr-x | post-receive-stagit | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/post-receive-stagit b/post-receive-stagit index 99a4acd..586a533 100755 --- a/post-receive-stagit +++ b/post-receive-stagit | |||
| @@ -90,9 +90,7 @@ mkindex() { | |||
| 90 | changeindextitlestyle | 90 | changeindextitlestyle |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | if [ "$1" = "index" ]; then | 93 | if [ "$1" = "all" ]; then |
| 94 | mkindex | ||
| 95 | elif [ "$1" = "all" ]; then | ||
| 96 | for g in *.git; do | 94 | for g in *.git; do |
| 97 | cd $g | 95 | cd $g |
| 98 | cp $bindir/post-receive-stagit hooks/post-receive | 96 | cp $bindir/post-receive-stagit hooks/post-receive |
| @@ -100,7 +98,7 @@ elif [ "$1" = "all" ]; then | |||
| 100 | $bindir/post-receive-stagit | 98 | $bindir/post-receive-stagit |
| 101 | cd | 99 | cd |
| 102 | done | 100 | done |
| 103 | mkindex | 101 | elif [ "$1" != "index" ]; then |
| 104 | else | ||
| 105 | mkpage | 102 | mkpage |
| 106 | fi | 103 | fi |
| 104 | mkindex | ||
