commit 7c803a417d1416ebdd7c947422089eadda89b537
parent 09beaf0e1d66089059eaa910e8f74b0689daf4dd
Author: Oscar Benedito <oscar@oscarbenedito.com>
Date:   Thu, 13 Jan 2022 19:22:37 +0100

Fix post-update hook symlink in init script

Diffstat:
Minit | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init b/init @@ -13,7 +13,7 @@ mkdir "$p" && \ cd "$p" && \ git --bare init ln -sf "/usr/local/share/doc/stagit/example_post-receive.sh" "hooks/post-receive" -ln -sf "post-update.sample" "hooks/post-update" +ln -sf "$(dirname "$(realpath "$0")")/subscripts/post-update-public-repos" "hooks/post-update" echo "Oscar Benedito" > "owner" echo "https://git.oscarbenedito.com/${p%.git}" > "url"