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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3420 - (hide annotations) (download)
Thu Mar 13 09:06:09 2014 UTC (9 years, 11 months ago) by colin
File size: 263 byte(s)
mgagit: Make the repository update hook more generic to cover all repo groups
1 colin 3357 #!/bin/bash
2    
3 colin 3420 if [ "${GL_REPO:0:28}" == "infrastructure/repositories/" ]; then
4 colin 3357 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.30