diff --git a/bin/all/darcs-record-posthook b/bin/all/darcs-record-posthook index 0f4adc51..ccedcbcf 100644 --- a/bin/all/darcs-record-posthook +++ b/bin/all/darcs-record-posthook @@ -5,4 +5,11 @@ if [ -f $author_file ]; then echo "N'utilisez pas de fichier $author_file"'!!' echo "Utilisez plutot la variable DARCS_EMAIL ou un fichier ~/.darcs/author" fi + +# Extraction des hôtes du repository bcfg2 +if grep bcfg2 /etc/hostname &> /dev/null; then + /usr/scripts/gestion/extractionbcfg2.py +fi + +# Envoi des modifications /usr/scripts/bin/darcs/darcs-send-changes roots@crans.org