diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-24 20:46:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-24 20:46:36 +0100 |
commit | 929964deb2d086ffddda7ee212b0da5e2b838b81 (patch) | |
tree | 61716f05aab7fa39399d075b6d44fb7106428035 /sys-kernel/dracut-config-redcore | |
parent | 5a06c8470858d7e2b640c6d2848b962000befd24 (diff) |
final tweak
Diffstat (limited to 'sys-kernel/dracut-config-redcore')
-rw-r--r-- | sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild | 6 |
1 files changed, 6 insertions, 0 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 b57f2ab0..03dcdd4d 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 @@ -23,3 +23,9 @@ src_install() { doins redcore-dracut.conf || die newins redcore-dracut.conf redcore-dracut.conf.example || die } + +pkg_preinst() { + if [[ -f ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" ]]; then + rm -rf ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" + fi +} |