summaryrefslogtreecommitdiff
path: root/post-install.d/10git-test
diff options
context:
space:
mode:
Diffstat (limited to 'post-install.d/10git-test')
-rwxr-xr-xpost-install.d/10git-test6
1 files changed, 6 insertions, 0 deletions
diff --git a/post-install.d/10git-test b/post-install.d/10git-test
new file mode 100755
index 0000000..e72f195
--- /dev/null
+++ b/post-install.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