mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user