1 --- etckeeper/etckeeper.orig 2015-03-14 18:24:26.000000000 +0100
2 +++ etckeeper/etckeeper 2015-04-07 00:54:26.014557154 +0200
7 +if [ -z "$ETCKEEPER_LIB_DIR" ]; then
8 + ETCKEEPER_LIB_DIR=/lib/etckeeper
11 if [ -z "$ETCKEEPER_CONF_DIR" ]; then
12 ETCKEEPER_CONF_DIR=/etc/etckeeper
18 -if [ ! -d "$ETCKEEPER_CONF_DIR/$command.d" ]; then
19 - echo "etckeeper: $ETCKEEPER_CONF_DIR/$command.d does not exist" >&2
20 +if [ ! -d "$ETCKEEPER_LIB_DIR/$command.d" ] && [ ! -d "$ETCKEEPER_CONF_DIR/$command.d" ]; then
21 + echo "etckeeper: "$ETCKEEPER_LIB_DIR/$command.d" nor $ETCKEEPER_CONF_DIR/$command.d does not exist" >&2
31 print join "\n", grep { ! -d $_ && -x $_ }
32 grep /^\Q$dir\/\E[-a-zA-Z0-9]+$/,
39 -for script in $(lsscripts "$ETCKEEPER_CONF_DIR/$command.d"); do
40 +for script in $(lsscripts "$ETCKEEPER_LIB_DIR/$command.d" "$ETCKEEPER_CONF_DIR/$command.d"); do