aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/mgagit')
-rw-r--r--deployment/mgagit/templates/git-post-update-hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/mgagit/templates/git-post-update-hook b/deployment/mgagit/templates/git-post-update-hook
index 49cd0a1c..a2550ad3 100644
--- a/deployment/mgagit/templates/git-post-update-hook
+++ b/deployment/mgagit/templates/git-post-update-hook
@@ -1,6 +1,6 @@
#!/bin/bash
-if [ "$GL_REPO" == "infrastructure/repositories/software" -o "$GL_REPO" == "infrastructure/repositories/web" ]; then
+if [ "${GL_REPO:0:28}" == "infrastructure/repositories/" ]; then
OK=no
(unset GIT_DIR && mgagit glconf && mgagit glrun) >/dev/null 2>&1 && OK=yes
if [ "$OK" == "yes" ]; then