From ee9cbb397107f216db196b2a7717f278a51b578d Mon Sep 17 00:00:00 2001 From: Mathieu Clabaut Date: Fri, 21 Dec 2007 15:47:30 -0600 Subject: Move git files to hg one --- hg/post-apt.d/30hg-add | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 hg/post-apt.d/30hg-add (limited to 'hg/post-apt.d/30hg-add') diff --git a/hg/post-apt.d/30hg-add b/hg/post-apt.d/30hg-add new file mode 100644 index 0000000..79aa406 --- /dev/null +++ b/hg/post-apt.d/30hg-add @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +if [ -d .git ]; then + if ! git-add .; then + echo "etckeeper warning: git-add failed" >&2 + fi +fi -- cgit v1.2.3