post-update hook now chains to post-update.secondary

undocumented but analogous to the documented update hook chaining
This commit is contained in:
Sitaram Chamarty 2010-03-16 19:26:26 +05:30
parent 33d6856f4b
commit 05431233a2

View file

@ -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