4 if [ -e /etc/etckeeper/etckeeper.conf ]; then
5 . /etc/etckeeper/etckeeper.conf
8 if [ ! -z "$GIT_COMMIT_OPTIONS" ]; then
9 export GIT_COMMIT_OPTIONS
11 if [ ! -z "$HIGHLEVEL_PACKAGE_MANAGER" ]; then
12 export HIGHLEVEL_PACKAGE_MANAGER
14 if [ ! -z "$LOWLEVEL_PACKAGE_MANAGER" ]; then
15 export LOWLEVEL_PACKAGE_MANAGER
19 echo "usage: etckeeper command [directory]" >&2
25 if [ ! -d "/etc/etckeeper/$command.d" ]; then
26 echo "etckeeper: /etc/etckeeper/$command.d does not exist" >&2
36 run-parts --exit-on-error "/etc/etckeeper/$command.d"