It's much kinder to generate an inert wrapper which the user can call as desired
from the actual post-update hook.
# Instead of overwriting git's post-update script
# we generate a new program that can be called by
# post-update as desired.
# Instead of overwriting git's post-update script
# we generate a new program that can be called by
# post-update as desired.
- wrapper => "$gitrepo/hooks/post-update",
+ wrapper => "$gitrepo/hooks/ikiwiki-post-update",
wrappermode => "04755",
# Enable mail notifications of commits.
#notify => 1,
wrappermode => "04755",
# Enable mail notifications of commits.
#notify => 1,