summaryrefslogtreecommitdiff
path: root/init.d/20restore-metadata
blob: be34bc708d69194001d72ffb2896a74ae4f5b8e6 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
set -e

# It's ok to trust that the .fix-metadata file won't do anything shady because,
# as documented, etckeeper-init should only be run on repositories you trust.
if [ -x .fix-metadata ]; then
	./.fix-metadata
fi