aboutsummaryrefslogtreecommitdiffstats
path: root/testing/etckeeper/etckeeper.post-install
blob: 5bb094cb228068a6aa260f66e5e42bdcb735acd1 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

[ -e /etc/.git ] && exit 0

if etckeeper init; then
	etckeeper commit "initial commit"
	# we are in trigger context so the apk database
	# contains info before the change takes effect
	/etc/etckeeper/pre-install.d/10packagelist
fi