/[adm]/puppet/deployment/mgagit/templates/git-post-update-hook
ViewVC logotype

Contents of /puppet/deployment/mgagit/templates/git-post-update-hook

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3420 - (show annotations) (download)
Thu Mar 13 09:06:09 2014 UTC (9 years, 8 months ago) by colin
File size: 263 byte(s)
mgagit: Make the repository update hook more generic to cover all repo groups
1 #!/bin/bash
2
3 if [ "${GL_REPO:0:28}" == "infrastructure/repositories/" ]; then
4 OK=no
5 (unset GIT_DIR && mgagit glconf && mgagit glrun) >/dev/null 2>&1 && OK=yes
6 if [ "$OK" == "yes" ]; then
7 echo
8 echo " *** Repository definitions updated"
9 echo
10 fi
11 fi
12 exit 0

  ViewVC Help
Powered by ViewVC 1.1.28