summaryrefslogtreecommitdiff
path: root/post-install.d/30git-add
blob: 79aa4068d26988482f5d949c0f973cb4659b7087 (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