tcreate-repo.sh: add post-update hook for preparing bare repo for static http - stagit - [fork] customized build of stagit, the static git page generator
 (HTM) git clone git://src.adamsgaard.dk/stagit
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit a7da01a6eb60e5ad6fa61da82e50babb57aadcf7
 (DIR) parent 907ac1bf0ed6720185fdfb55c14363fd50909e09
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Sat, 28 Nov 2020 00:50:55 +0100
       
       create-repo.sh: add post-update hook for preparing bare repo for static http
       
       Diffstat:
         M create-repo.sh                      |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/create-repo.sh b/create-repo.sh
       t@@ -20,6 +20,8 @@ for r in "$@"; do
                read
                echo "${REPLY:-$default_owner}" > "$r"/owner
                ln -sf ../../post-receive.sh "$r"/hooks/post-receive
       +        cp "$r"/hooks/post-update{.sample,}
       +        chmod a+x "$r"/hooks/post-update
                echo "${giturl}/${r}" > "$r"/url
                echo "${altgiturl}/${r}.git" > "$r"/alturl
                touch "$r"/git-daemon-export-ok