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-03-23 07:38:01 +00:00 committed by Krzesimir Nowak
parent 716551d3c1
commit ba98e6aa26

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
}