summaryrefslogtreecommitdiff
path: root/post-apt.d/50git-commit
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-03 21:12:05 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-03 21:12:05 -0500
commitef70e3d7e62671d0cadb2731e6965768f73ca290 (patch)
treee0470bd941f4d9f39068499265731e9e53818657 /post-apt.d/50git-commit
parent3021117f7b4e17041d96e4906fce90a1ccd0183e (diff)
* Added configuration options for highlevel and lowlevel package managers
in etckeeper.conf. * Only install apt hooks if apt is used. * Only add backup conffile exclusion to gitignore if dpkg is used. * Rename pre/post-apt.d to pre/post-install.d to allow the same directories to be used for other package managers. * Use the name of the highlevel package manager in commit messages.
Diffstat (limited to 'post-apt.d/50git-commit')
-rwxr-xr-xpost-apt.d/50git-commit12
1 files changed, 0 insertions, 12 deletions
diff --git a/post-apt.d/50git-commit b/post-apt.d/50git-commit
deleted file mode 100755
index 1a5c55a..0000000
--- a/post-apt.d/50git-commit
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-set -e
-
-if [ -d .git ]; then
-
- # 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"
-
- # ignore exit code since it exits nonzero if there is nothing to do
- git commit $GIT_COMMIT_OPTIONS -m "$message" || true
-fi