commit: 749f1e506f33dbd0a1563df68848e51e6fcb93de
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 11:20:23 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 11:20:23 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=749f1e50
sys-apps/openrc: [QA] Fix missing trailing slash
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sys-apps/openrc/openrc-9999.ebuild | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sys-apps/openrc/openrc-9999.ebuild
b/sys-apps/openrc/openrc-9999.ebuild
index 891a73480c4..6bf7ded639b 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -159,10 +159,10 @@ src_install() {
pkg_preinst() {
# avoid default thrashing in conf.d files when possible #295406
- if [[ -e "${EROOT}"etc/conf.d/hostname ]] ; then
+ if [[ -e "${EROOT}"/etc/conf.d/hostname ]] ; then
(
unset hostname HOSTNAME
- source "${EROOT}"etc/conf.d/hostname
+ source "${EROOT}"/etc/conf.d/hostname
: ${hostname:=${HOSTNAME}}
[[ -n ${hostname} ]] && set_config /etc/conf.d/hostname
hostname "${hostname}"
)
@@ -183,11 +183,11 @@ pkg_postinst() {
# Added for 0.35.
if use kernel_linux && [[ ! -h "${EROOT}"/lib ]]; then
if [[ -d "${EROOT}$(get_libdir)"/rc ]]; then
- cp -RPp "${EROOT}$(get_libdir)/rc" "${EROOT}"lib
+ 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
+ cp -RPp "${EROOT}$(get_libdir)/rc" "${EROOT}"/lib
fi
fi
@@ -202,7 +202,7 @@ pkg_postinst() {
ewarn
fi
- if use newnet && [ ! -e "${EROOT}"etc/runlevels/boot/network ]; then
+ if use newnet && [ ! -e "${EROOT}"/etc/runlevels/boot/network ]; then
ewarn "Please add the network service to your boot runlevel"
ewarn "as soon as possible. Not doing so could leave you with a
system"
ewarn "without networking."