projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb1ab2
)
sys-apps/openrc: copy /libxx/rc to /lib/rc for non-linux systems
author
William Hubbs
<williamh@gentoo.org>
Tue, 27 Feb 2018 18:45:51 +0000
(12:45 -0600)
committer
William Hubbs
<williamh@gentoo.org>
Tue, 27 Feb 2018 18:45:51 +0000
(12:45 -0600)
Package-Manager: Portage-2.3.19, Repoman-2.3.6
sys-apps/openrc/openrc-9999.ebuild
patch
|
blob
|
history
diff --git
a/sys-apps/openrc/openrc-9999.ebuild
b/sys-apps/openrc/openrc-9999.ebuild
index 50d119646c70fe2c71f0ec01a60b09d1933989ee..e261b2d39bdf72cb17f020d57c6392163380978c 100644
(file)
--- 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