diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-10-23 19:43:47 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-10-23 19:43:47 -0200 |
commit | b45c60df8af294fe97b8912a0b9703c76e5de8d6 (patch) | |
tree | 2a3442f2e0b3c7494cc591ac8c8053d84c3c9d84 /puppet/bin/post-receive | |
parent | c880b15f013c6d761e4632570112f796ffc1dcda (diff) | |
parent | 1bfffe2e0adff6e44ec33726988b64f95ea2f599 (diff) | |
download | debian-b45c60df8af294fe97b8912a0b9703c76e5de8d6.tar.gz debian-b45c60df8af294fe97b8912a0b9703c76e5de8d6.tar.bz2 |
Merge commit '1bfffe2e0adff6e44ec33726988b64f95ea2f599' into develop
Diffstat (limited to 'puppet/bin/post-receive')
-rwxr-xr-x | puppet/bin/post-receive | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/puppet/bin/post-receive b/puppet/bin/post-receive index 996189d..e6baa07 100755 --- a/puppet/bin/post-receive +++ b/puppet/bin/post-receive @@ -3,5 +3,15 @@ cd .. unset GIT_DIR -git checkout -f +if [ -d ".git/annex" ]; then + git annex sync +else + #git reset HEAD + git checkout -f +fi + +git submodule sync --recursive git submodule update --init --recursive + +cd - +exec git update-server-info |