From: Cache Saravento Date: Sat, 8 Aug 2015 14:12:22 +0000 (-0300) Subject: Hooks: update submodules X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dfe926e4e550690358a7ceb0e8e7e51fa15162da;p=cache.git Hooks: update submodules --- diff --git a/bin/post-receive b/bin/post-receive index 512b9fd..7411db5 100755 --- a/bin/post-receive +++ b/bin/post-receive @@ -4,3 +4,4 @@ cd .. unset GIT_DIR git checkout -f +git submodule update --init diff --git a/bin/post-update b/bin/post-update index beed524..27e926a 100755 --- a/bin/post-update +++ b/bin/post-update @@ -10,5 +10,7 @@ else git checkout -f fi +git submodule update --init + cd - exec git update-server-info