summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index 50d119646c70..e261b2d39bdf 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -300,6 +300,10 @@ pkg_postinst() {
if [[ -d "${EROOT}$(get_libdir)"/rc ]]; then
cp -RPp "${EROOT}$(get_libdir)/rc" "${EROOT}"lib
fi
+ elif ! use kernel_linux; then
+ if [[ -d "${EROOT}$(get_libdir)"/rc ]]; then
+ cp -RPp "${EROOT}$(get_libdir)/rc" "${EROOT}"lib
+ fi
fi
# update the dependency tree after touching all files #224171