aboutsummaryrefslogtreecommitdiff
path: root/bin/post-update
diff options
context:
space:
mode:
authorArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-07-31 23:34:24 -0300
committerArquivo Publico de Memoria Coletiva <arquivo@sarava.org>2015-07-31 23:34:24 -0300
commit08d5a2ca54102582227aa1c550ed3d2626cdffab (patch)
tree8dfa53ff645eb1eb77eec33d380bd9cf2e7a3916 /bin/post-update
parent1ac91507db89bb4ed3f099685a53d530b2e19f0d (diff)
downloadarquivo-08d5a2ca54102582227aa1c550ed3d2626cdffab.tar.gz
arquivo-08d5a2ca54102582227aa1c550ed3d2626cdffab.tar.bz2
Adds post-update script
Diffstat (limited to 'bin/post-update')
-rwxr-xr-xbin/post-update8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/post-update b/bin/post-update
new file mode 100755
index 00000000000..3098dab92fa
--- /dev/null
+++ b/bin/post-update
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cd ..
+unset GIT_DIR
+git annex sync
+
+cd -
+exec git update-server-info