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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3419 by colin, Mon Oct 7 09:33:07 2013 UTC revision 3420 by colin, Thu Mar 13 09:06:09 2014 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2    
3  if [ "$GL_REPO" == "infrastructure/repositories/software" -o "$GL_REPO" == "infrastructure/repositories/web" ]; then  if [ "${GL_REPO:0:28}" == "infrastructure/repositories/" ]; then
4          OK=no          OK=no
5          (unset GIT_DIR && mgagit glconf && mgagit glrun) >/dev/null 2>&1 && OK=yes          (unset GIT_DIR && mgagit glconf && mgagit glrun) >/dev/null 2>&1 && OK=yes
6          if [ "$OK" == "yes" ]; then          if [ "$OK" == "yes" ]; then

Legend:
Removed from v.3419  
changed lines
  Added in v.3420

  ViewVC Help
Powered by ViewVC 1.1.30