diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-24 20:49:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-24 20:49:57 +0100 |
commit | 86bc5f1eebf76209cc45887673b1b98f52c79a1a (patch) | |
tree | 35b26502040a4fe76ba23eea059e35c338757cc4 | |
parent | 929964deb2d086ffddda7ee212b0da5e2b838b81 (diff) |
...
-rw-r--r-- | sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
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" +} |