summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-boot/grub-config-redcore/grub-config-redcore-1708-r1.ebuild2
-rw-r--r--sys-kernel/dracut-config-redcore/dracut-config-redcore-1708-r1.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-boot/grub-config-redcore/grub-config-redcore-1708-r1.ebuild b/sys-boot/grub-config-redcore/grub-config-redcore-1708-r1.ebuild
index 31dfc20f..b40fa95e 100644
--- a/sys-boot/grub-config-redcore/grub-config-redcore-1708-r1.ebuild
+++ b/sys-boot/grub-config-redcore/grub-config-redcore-1708-r1.ebuild
@@ -25,7 +25,7 @@ src_install() {
pkg_preinst() {
if [[ -f ""${ROOT}"etc/default/grub" ]]; then
- mv ""${ROOT}"etc/default/grub" ""${ROOT}"etc/default/grub.backup"
+ cp -avx ""${ROOT}"etc/default/grub" ""${ROOT}"etc/default/grub.backup"
fi
}
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
}