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