summaryrefslogtreecommitdiff
path: root/uninit.d/50remove-metadata
diff options
context:
space:
mode:
Diffstat (limited to 'uninit.d/50remove-metadata')
-rwxr-xr-xuninit.d/50remove-metadata6
1 files changed, 6 insertions, 0 deletions
diff --git a/uninit.d/50remove-metadata b/uninit.d/50remove-metadata
new file mode 100755
index 0000000..0be8d36
--- /dev/null
+++ b/uninit.d/50remove-metadata
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+
+# Files generated by etckeeper to store metadata the VCS cannot preserve.
+rm -f .etckeeper
+rm -f .metadata # only generated by old versions