post-update hook now chains to post-update.secondary
undocumented but analogous to the documented update hook chaining
This commit is contained in:
parent
33d6856f4b
commit
05431233a2
|
@ -6,3 +6,8 @@ GIT_WORK_TREE=$GL_ADMINDIR git checkout -f master
|
||||||
|
|
||||||
cd $GL_ADMINDIR
|
cd $GL_ADMINDIR
|
||||||
$GL_BINDIR/gl-compile-conf
|
$GL_BINDIR/gl-compile-conf
|
||||||
|
|
||||||
|
if [[ -f hooks/post-update.secondary ]] || [[ -L hooks/post-update.secondary ]]
|
||||||
|
then
|
||||||
|
exec hooks/post-update.secondary "$@"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue