diff options
author | Viorel Munteanu <ceamac.paragon@gmail.com> | 2022-04-17 10:46:59 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-30 21:40:15 +0000 |
commit | 2009022df92957c33f4a81c28e0039cfb4118a1f (patch) | |
tree | 41910416205cd0296c7e19d91b3b833a079ae548 /sys-apps/busybox | |
parent | sys-apps/busybox: Install httpd CGI scripts (diff) | |
download | gentoo-2009022df92957c33f4a81c28e0039cfb4118a1f.tar.gz gentoo-2009022df92957c33f4a81c28e0039cfb4118a1f.tar.bz2 gentoo-2009022df92957c33f4a81c28e0039cfb4118a1f.zip |
sys-apps/busybox: Fix installation on split-usr systems
Closes: https://bugs.gentoo.org/825718
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/busybox')
-rw-r--r-- | sys-apps/busybox/busybox-1.34.1-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-apps/busybox/busybox-1.34.1-r1.ebuild b/sys-apps/busybox/busybox-1.34.1-r1.ebuild index 702f98008ff3..1d060aa4237c 100644 --- a/sys-apps/busybox/busybox-1.34.1-r1.ebuild +++ b/sys-apps/busybox/busybox-1.34.1-r1.ebuild @@ -291,7 +291,9 @@ src_install() { rm _install/bin/busybox || die # for compatibility, provide /usr/bin/env mkdir -p _install/usr/bin || die - ln -s /bin/env _install/usr/bin/env || die + if [[ ! -e _install/usr/bin/env ]]; then + ln -s /bin/env _install/usr/bin/env || die + fi tar cf busybox-links.tar -C _install . || : #;die insinto /usr/share/${PN} use make-symlinks && doins busybox-links.tar |