[sysadmin-bin: 82/168] Run update-cgit when we find a new description



commit 969405655f84536c85f08cff57017500cbb59fc9
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Thu Apr 16 17:33:15 2009 -0400

    Run update-cgit when we find a new description
    
    When we extract a new module description from a .doap file, run
    update-cgit.

 post-receive-update-description |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/post-receive-update-description b/post-receive-update-description
index df97fc0..9bcf419 100755
--- a/post-receive-update-description
+++ b/post-receive-update-description
@@ -19,6 +19,7 @@ update_description_from_file() {
 
     shortdesc=$(git cat-file blob "$newrev:$path" | $BINDIR/extract-doap-shortdesc)
     echo $shortdesc > $GIT_DIR/description
+    $BINDIR/update-cgit
 }
 
 update_description() {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]