blob: 8580516264d834be3a1770c93b27e847741fa5b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
set -e
# Remove the .metadata file if we're using .fix-metadata
if [ -f .metadata ] && [ -f .fix-metadata ]; then
# Don't want to do anything permanent if user is mistakenly
# running etckeeper without first setting VCS.
if [ "x$VCS" != "x" ]; then
$VCS rm .metadata
fi
fi
|