summaryrefslogtreecommitdiff
path: root/pre-commit.d/40warn-old-metadata
blob: 374dd7b8be08cdeabff973ee73324560d34ae42d (plain)
1
2
3
4
5
6
7
#!/bin/sh
set -e

# Tell the user if the .metadata binary file is still lying around.
if [ -f .metadata ] && [ -f .fix-metadata ]; then
	echo "etckeeper warning: The .metadata file is obsolete.  You should delete it." >&2
fi