This file is indexed.

/etc/etckeeper/commit.d/10vcs-test is in etckeeper 1.18.2-1ubuntu1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#!/bin/sh
set -e
	
not_enabled_warning() {
	echo "etckeeper warning: etckeeper is not yet enabled for $(pwd)" >&2
	echo "etckeeper warning: run etckeeper init to enable it" >&2
}

if [ "$VCS" = git ] && [ ! -d .git ]; then
	not_enabled_warning
elif [ "$VCS" = hg ] && [ ! -d .hg ]; then
	not_enabled_warning
elif [ "$VCS" = bzr ] && [ ! -d .bzr ]; then
	not_enabled_warning
elif [ "$VCS" = darcs ] && [ ! -d _darcs ]; then
	not_enabled_warning
fi