sys-apps/busybox: Do not overwrite existing files with make-symlinks

- Turns out previous fix did not work correctly, so let's pass
  'echo n' to cp to stop it from overwriting existing files

Fixes: 50b3efe860
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/22317
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Jakov Smolić
2021-09-17 15:29:47 +02:00
committed by Sam James
parent 37f0234430
commit 5010e7702f
2 changed files with 2 additions and 2 deletions

View File

@@ -337,7 +337,7 @@ pkg_postinst() {
cd "${T}" || die
mkdir _install
tar xf busybox-links.tar -C _install || die
false | cp -vpPR _install/* "${ROOT}"/ || die "copying links for ${x} failed"
echo n | cp -ivpPR _install/* "${ROOT}"/ || die "copying links for ${x} failed"
fi
if use sep-usr ; then

View File

@@ -336,7 +336,7 @@ pkg_postinst() {
cd "${T}" || die
mkdir _install
tar xf busybox-links.tar -C _install || die
false | cp -vpPR _install/* "${ROOT}"/ || die "copying links for ${x} failed"
echo n | cp -ivpPR _install/* "${ROOT}"/ || die "copying links for ${x} failed"
fi
if use sep-usr ; then