diff options
author | William Hubbs <williamh@gentoo.org> | 2018-02-27 12:45:51 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2018-02-27 12:45:51 -0600 |
commit | 7bc52877d33171917fc155ef20aca5e9ec4b711c (patch) | |
tree | 641f2a4c22a4d05459e024c9475c08881f02b6c0 /sys-apps | |
parent | sys-apps/openrc: set libexecdir to lib for bug #645240 (diff) | |
download | gentoo-7bc52877d33171917fc155ef20aca5e9ec4b711c.tar.gz gentoo-7bc52877d33171917fc155ef20aca5e9ec4b711c.tar.bz2 gentoo-7bc52877d33171917fc155ef20aca5e9ec4b711c.zip |
sys-apps/openrc: copy /libxx/rc to /lib/rc for non-linux systems
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/openrc/openrc-9999.ebuild | 4 |
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 |