summaryrefslogtreecommitdiff
path: root/post-apt.d/75git-commit
blob: 0a84fbd0902ea02d155d707dd8e2af35d80e2707 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
set -e

# TODO: figure out what packages were acted on by the apt run, and include
# that info in the commit message
message="committing changes after apt run"

if ! git commit -m "$message"; then
	echo "etckeeper warning: git-commit failed"
fi