summaryrefslogtreecommitdiff
path: root/git/post-apt.d/10git-test
diff options
context:
space:
mode:
Diffstat (limited to 'git/post-apt.d/10git-test')
-rw-r--r--git/post-apt.d/10git-test6
1 files changed, 6 insertions, 0 deletions
diff --git a/git/post-apt.d/10git-test b/git/post-apt.d/10git-test
new file mode 100644
index 0000000..e72f195
--- /dev/null
+++ b/git/post-apt.d/10git-test
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+if [ ! -d .git ]; then
+ echo "etckeeper warning: etckeeper is not yet enabled for $(pwd)" >&2
+ echo "etckeeper warning: run etckeeper init to enable it" >&2
+fi