sys-process/psmisc: Sync with Gentoo

It's from Gentoo commit b8a108accf44949a164e1a9674b9472402a3a8f9.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2026-04-13 07:44:15 +00:00
parent 42d13e1485
commit fb660d80d4

View File

@ -68,6 +68,8 @@ src_install() {
[[ -e ${ED}/usr/bin/peekfd ]] || rm -f "${ED}"/usr/share/man/man1/peekfd.1
# fuser is needed by init.d scripts; use * wildcard for #458250
dodir /bin
mv "${ED}"/usr/bin/*fuser "${ED}"/bin || die
if use kernel_linux ; then
dodir /bin
mv "${ED}"/usr/bin/*fuser "${ED}"/bin || die
fi
}