[med-svn] r467 - in trunk: . hooks

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Tue Oct 2 08:13:36 UTC 2007


Author: hanska-guest
Date: 2007-10-02 08:13:36 +0000 (Tue, 02 Oct 2007)
New Revision: 467

Added:
   trunk/hooks/
   trunk/hooks/post-commit
Log:
Adding post-comit hook for website live update


Added: trunk/hooks/post-commit
===================================================================
--- trunk/hooks/post-commit	                        (rev 0)
+++ trunk/hooks/post-commit	2007-10-02 08:13:36 UTC (rev 467)
@@ -0,0 +1,9 @@
+#!/bin/sh
+REPOS="$1"
+REV="$2"
+
+# let's update our http://debian-med.alioth.debian.org/
+if svnlook dirs-changed $REPOS | grep -q '^community/website/'
+then
+	/var/lib/gforge/chroot/home/groups/debian-med/update-website $REV
+fi




More information about the debian-med-commit mailing list