From 86bc5f1eebf76209cc45887673b1b98f52c79a1a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 24 Apr 2020 20:49:57 +0100 Subject: ... --- .../dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys-kernel') diff --git a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild index 03dcdd4d..e6156600 100644 --- a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild +++ b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild @@ -20,7 +20,6 @@ S="${FILESDIR}" src_install() { dodir "etc/dracut.conf.d" || die insinto "etc/dracut.conf.d" || die - doins redcore-dracut.conf || die newins redcore-dracut.conf redcore-dracut.conf.example || die } @@ -29,3 +28,7 @@ pkg_preinst() { rm -rf ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" fi } + +pkg_postinst() { + cp -avx ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf.example" ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" +} -- cgit v1.2.3