blob: 6f0a4c043ced0530060fcb6e456a87a12e1a1260 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
[ -x /usr/bin/etckeeper ] || exit
case "$1" in
pre-commit)
etckeeper pre-install
;;
post-commit)
etckeeper post-install
;;
*)
echo "$0: Un-handled action: $1"
;;
esac
|