From: William Hubbs Date: Tue, 27 Feb 2018 18:45:51 +0000 (-0600) Subject: sys-apps/openrc: copy /libxx/rc to /lib/rc for non-linux systems X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7bc52877d33171917fc155ef20aca5e9ec4b711c;p=gentoo.git sys-apps/openrc: copy /libxx/rc to /lib/rc for non-linux systems Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- 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