aports/community/etckeeper/apk-commit_hook
2017-08-28 07:15:08 +00:00

18 lines
196 B
Bash

#!/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