diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 16:28:55 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 16:28:55 -0500 |
commit | 4fe47e842a6d0462ddf26f4f0fd7641648f6af29 (patch) | |
tree | 46fc24fdd110c43c5075d0f10c1ac037963a00cf /post-apt.d/75git-commit | |
parent | 357a708e613c83ae35faaa70514a8f4e1179079b (diff) |
implement the post-apt hook
Diffstat (limited to 'post-apt.d/75git-commit')
-rwxr-xr-x | post-apt.d/75git-commit | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/post-apt.d/75git-commit b/post-apt.d/75git-commit new file mode 100755 index 0000000..0a84fbd --- /dev/null +++ b/post-apt.d/75git-commit @@ -0,0 +1,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 |