summaryrefslogtreecommitdiff
path: root/post-install.d/30git-add
blob: 33858a733c13b39a5417ea2a63664ae09c33d110 (plain)
1
2
3
4
5
6
7
#!/bin/sh
set -e
if [ -d .git ]; then
	if ! git add .; then
		echo "etckeeper warning: git add failed" >&2
	fi
fi