diff --git a/bin/all/darcs-record-postpook b/bin/all/darcs-record-postpook new file mode 100755 index 00000000..0f4adc51 --- /dev/null +++ b/bin/all/darcs-record-postpook @@ -0,0 +1,8 @@ +#!/bin/bash +author_file="_darcs/prefs/author" +if [ -f $author_file ]; then + rm -f $author_file + echo "N'utilisez pas de fichier $author_file"'!!' + echo "Utilisez plutot la variable DARCS_EMAIL ou un fichier ~/.darcs/author" +fi +/usr/scripts/bin/darcs/darcs-send-changes roots@crans.org diff --git a/bin/all/darcs-record-prehook b/bin/all/darcs-record-prehook new file mode 100755 index 00000000..11dea895 --- /dev/null +++ b/bin/all/darcs-record-prehook @@ -0,0 +1,6 @@ +#!/bin/bash +author_file="_darcs/prefs/author" +if [ -f $author_file ]; then + echo "Suppression de $author_file." + rm -f $author_file +fi diff --git a/bin/all/darcs-send-changes b/bin/all/darcs-send-changes new file mode 100755 index 00000000..41b648ad --- /dev/null +++ b/bin/all/darcs-send-changes @@ -0,0 +1,2 @@ +#!/bin/bash +exec python /usr/scripts/gestion/darcs_send_changes.py "$@"