aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorCache Saravento <cache@sarava.org>2015-08-07 13:34:21 -0300
committerCache Saravento <cache@sarava.org>2015-08-07 13:34:21 -0300
commitd28b1d73631072ec76e9a44a2c59dd94c5d332b3 (patch)
tree3ec52d5116f894c6c583e2d66279ecc23d7af7f8 /bin
parentfd680e83b76c9da8e19535f5db11b16169797bc6 (diff)
downloadcache-d28b1d73631072ec76e9a44a2c59dd94c5d332b3.tar.gz
cache-d28b1d73631072ec76e9a44a2c59dd94c5d332b3.tar.bz2
Post update hook
Diffstat (limited to 'bin')
-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 0000000..3098dab
--- /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