From f82235032f162aae0bb08828d45c6306e60dcd29 Mon Sep 17 00:00:00 2001 From: Mathieu Clabaut Date: Fri, 21 Dec 2007 15:47:30 -0600 Subject: hg and git subrepo creation (hg is for now a copy of git) --- git/post-apt.d/30git-add | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 git/post-apt.d/30git-add (limited to 'git/post-apt.d/30git-add') diff --git a/git/post-apt.d/30git-add b/git/post-apt.d/30git-add new file mode 100644 index 0000000..79aa406 --- /dev/null +++ b/git/post-apt.d/30git-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