summaryrefslogtreecommitdiff
path: root/commit.d/30bzr-add
blob: 3e7e95d95fb61908d9bb9b4207ec4da6a1010564 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
set -e

if [ "$VCS" = bzr ] && [ -d .bzr ]; then
	if ! bzr add -q .; then
		echo "etckeeper warning: bzr add failed" >&2
	fi
fi