aports/testing/etckeeper/apk-commit_hook
Henrik Riomar 188d8ba1fe testing/etckeeper: new aport
Note: uses a apk commit_hooks.d script, so it requires a new apk version.
2017-02-28 16:18:04 +02: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