[Xfce4-commits] <xfce-git-hooks:master> add post-update hook that runs 'git update-server-info'

Brian J. Tarricone brian at tarricone.org
Mon Aug 17 20:32:01 CEST 2009


Updating branch refs/heads/master
         to 8edd9fd9ad0943682dbf50aa185130cbfa3a59ed (commit)
       from 4bbc57af91360ea7ecebb7c77126682d1238df86 (commit)

commit 8edd9fd9ad0943682dbf50aa185130cbfa3a59ed
Author: Brian J. Tarricone <brian at tarricone.org>
Date:   Mon Aug 17 11:33:44 2009 -0700

    add post-update hook that runs 'git update-server-info'

 hooks/post-update-01-server-info |    3 +++
 post-update                      |    5 +++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/hooks/post-update-01-server-info b/hooks/post-update-01-server-info
new file mode 100755
index 0000000..b2c9f9b
--- /dev/null
+++ b/hooks/post-update-01-server-info
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+git update-server-info
diff --git a/post-update b/post-update
new file mode 100755
index 0000000..5e403f4
--- /dev/null
+++ b/post-update
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+XFCE_GIT_HOOK_DIR="/usr/local/share/xfce-git-hooks"
+
+$XFCE_HOOK_DIR/hooks/post-update-01-server-info



More information about the Xfce4-commits mailing list