]> gitweb.fluxo.info Git - templates.git/commitdiff
Adds post-update hook to ikiwiki template
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 7 Aug 2015 16:28:44 +0000 (13:28 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 7 Aug 2015 16:28:44 +0000 (13:28 -0300)
ikiwiki/bin/post-update [new file with mode: 0755]

diff --git a/ikiwiki/bin/post-update b/ikiwiki/bin/post-update
new file mode 100755 (executable)
index 0000000..3098dab
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cd ..
+unset GIT_DIR
+git annex sync
+
+cd -
+exec git update-server-info