diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-24 02:15:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-24 02:15:35 +0000 |
commit | 10a568431ea8582594d7ec365af353921585a72d (patch) | |
tree | d3770728d2c9508d40687a2e99a86b0f3457c1a3 /sys-apps | |
parent | 0ed3f0f3eb3e5b402c550b3214b14f83ab37949a (diff) |
sys-apps/openrc : EAPI 7 fix
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/openrc/openrc-0.42.1-r1.ebuild | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sys-apps/openrc/openrc-0.42.1-r1.ebuild b/sys-apps/openrc/openrc-0.42.1-r1.ebuild index e7cb2625..cf078f96 100644 --- a/sys-apps/openrc/openrc-0.42.1-r1.ebuild +++ b/sys-apps/openrc/openrc-0.42.1-r1.ebuild @@ -191,38 +191,38 @@ pkg_postinst() { fi # Redcore Linux Hardened : - if [ -e "${ROOT}"etc/init.d/dkms ] && use dkms; then + if [ -e "${ROOT}"/etc/init.d/dkms ] && use dkms; then if [ "$(rc-config list boot | grep dkms)" != "" ]; then einfo else - "${ROOT}"sbin/rc-update add dkms boot + "${ROOT}"/sbin/rc-update add dkms boot fi fi - if [ -e "${ROOT}"etc/init.d/dbus ] && use elogind; then + if [ -e "${ROOT}"/etc/init.d/dbus ] && use elogind; then if [ "$(rc-config list boot | grep dbus)" != "" ]; then einfo elif [ "$(rc-config list default | grep dbus)" != "" ]; then - "${ROOT}"sbin/rc-update del dbus default - "${ROOT}"sbin/rc-update add dbus boot + "${ROOT}"/sbin/rc-update del dbus default + "${ROOT}"/sbin/rc-update add dbus boot else - "${ROOT}"sbin/rc-update add dbus boot + "${ROOT}"/sbin/rc-update add dbus boot fi fi - if [ -e "${ROOT}"etc/init.d/elogind ] && use elogind; then + if [ -e "${ROOT}"/etc/init.d/elogind ] && use elogind; then if [ "$(rc-config list boot | grep elogind)" != "" ]; then einfo else - "${ROOT}"sbin/rc-update add elogind boot + "${ROOT}"/sbin/rc-update add elogind boot fi if [ "$(rc-config list default | grep consolekit)" != "" ]; then - "${ROOT}"sbin/rc-update del consolekit default + "${ROOT}"/sbin/rc-update del consolekit default fi if [ "$(rc-config list default | grep cgmanager)" != "" ]; then - "${ROOT}"sbin/rc-update del cgmanager default + "${ROOT}"/sbin/rc-update del cgmanager default fi fi @@ -230,7 +230,7 @@ pkg_postinst() { if [ "$(rc-config list boot | grep apparmor)" != "" ]; then einfo else - "${ROOT}"sbin/rc-update add apparmor boot + "${ROOT}"/sbin/rc-update add apparmor boot fi fi @@ -238,7 +238,7 @@ pkg_postinst() { if [ "$(rc-config list default | grep haveged)" != "" ]; then einfo else - "${ROOT}"sbin/rc-update add haveged default + "${ROOT}"/sbin/rc-update add haveged default fi fi } |