aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-07 13:28:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-07 13:28:44 -0300
commit29c9ddc599a6cc0fe6f10ce15285f39d0d016acf (patch)
tree843b5b1057830203202a63cfc63e7becdb79b11e
parent26658e7ae3087ea32dc3f39a62cf9d1d8394d06e (diff)
downloadtemplates-29c9ddc599a6cc0fe6f10ce15285f39d0d016acf.tar.gz
templates-29c9ddc599a6cc0fe6f10ce15285f39d0d016acf.tar.bz2
Adds post-update hook to ikiwiki template
-rwxr-xr-xikiwiki/bin/post-update8
1 files changed, 8 insertions, 0 deletions
diff --git a/ikiwiki/bin/post-update b/ikiwiki/bin/post-update
new file mode 100755
index 0000000..3098dab
--- /dev/null
+++ b/ikiwiki/bin/post-update
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cd ..
+unset GIT_DIR
+git annex sync
+
+cd -
+exec git update-server-info