From 4fe47e842a6d0462ddf26f4f0fd7641648f6af29 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 5 Nov 2007 16:28:55 -0500 Subject: implement the post-apt hook --- post-apt.d/50git-add | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 post-apt.d/50git-add (limited to 'post-apt.d/50git-add') diff --git a/post-apt.d/50git-add b/post-apt.d/50git-add new file mode 100755 index 0000000..903e5aa --- /dev/null +++ b/post-apt.d/50git-add @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +cd /etc +if ! git-add .; then + echo "etckeeper warning: git-add failed" >&2 +fi -- cgit v1.2.3