From 6d90c319bcea7200b4b47f3434782b354f11fc3f Mon Sep 17 00:00:00 2001 From: Progfou Date: Fri, 20 Feb 2009 17:39:57 +0700 Subject: [PATCH] releasing version 1.5.1 --- auf-git-etc.sh | 2 +- cron.auf-git-etc | 5 ++++- debian/changelog | 6 ++++++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/auf-git-etc.sh b/auf-git-etc.sh index 24323d8..aea4741 100644 --- a/auf-git-etc.sh +++ b/auf-git-etc.sh @@ -3,7 +3,7 @@ if test -n "$PS1"; then # ou bien si c'est root if `id -Gn | grep -qw admin` || test `id -u` -eq 0; then test -x /usr/bin/git -a -d /.git && (cd / ; sudo /usr/bin/git status -a) | - /bin/sed -e '1{/^nothing to commit/d}' + /bin/sed -e '1{/^# On branch /d};2{/^nothing to commit/d}' # deux variables indispensables à cause d'un bogue de git avec la racine # disons que les admins ne gèrent rien d'autre… au pire, .bash_profile ! GIT_DIR=/.git diff --git a/cron.auf-git-etc b/cron.auf-git-etc index 369310a..20e3c8b 100755 --- a/cron.auf-git-etc +++ b/cron.auf-git-etc @@ -1,6 +1,9 @@ #!/bin/sh recipients="root+git" # adresse pour l'envoi du mail +PATH="/bin:/usr/bin" +export PATH + if [ "$1" != "cron" ]; then echo "Ce script n'est pas fait pour être lancé manuellement mais via cron." exit -1 @@ -16,7 +19,7 @@ fi trap "rm -f \"$tempfile\"" 0 1 2 3 15 (cd / ; /usr/bin/git status -a) | -sed -e '/^nothing to commit/d' -e 's/^#//' >"$tempfile" +sed -e '1{/^# On branch /d};2{/^nothing to commit/d};s/^#//' >"$tempfile" if [ -s "$tempfile" ]; then ( diff --git a/debian/changelog b/debian/changelog index 23fdfb3..9cca04e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +auf-git-etc (1.5.1) stable; urgency=low + + * Ooops… Le message de statut aussi a changé… Allez hop : silence ! + + -- Progfou Fri, 20 Feb 2009 17:36:58 +0700 + auf-git-etc (1.5.0) stable; urgency=low * Premier jet d'une version "Lenny compatible" (avec git 1.5). -- 1.7.10.4