From 74e2ad299100af1e902a1def5a5831e720e95a9f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 19 Aug 2017 17:05:09 +0100 Subject: sys-boot/grub-config-redcore && sys-kernel/dracut-config-redcore : don't be destructive --- sys-kernel/dracut-config-redcore/dracut-config-redcore-1708-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-kernel/dracut-config-redcore/dracut-config-redcore-1708-r1.ebuild') diff --git a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1708-r1.ebuild b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1708-r1.ebuild index 6bba02f2..caae14ed 100644 --- a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1708-r1.ebuild +++ b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1708-r1.ebuild @@ -25,7 +25,7 @@ src_install() { pkg_preinst() { if [[ -f ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" ]]; then - mv ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf.backup" + cp -avx ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf.backup" fi } -- cgit v1.2.3