commit:     95d4d7beeaee4503f2af68f938f446d1b3805cb0
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 10 19:18:51 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Dec 10 19:19:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95d4d7be

sys-apps/systemd-tmpfiles: fix postinst for EROOT installations.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild 
b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
index 6bcf3413b4e..0520665a08f 100644
--- a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
+++ b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild
@@ -199,7 +199,7 @@ add_service() {
 
        elog "Auto-adding '${initd}' service to your ${runlevel} runlevel"
        mkdir -p "${EROOT}/etc/runlevels/${runlevel}"
-       ln -snf "${EROOT}/etc/init.d/${initd}" 
"${EROOT}/etc/runlevels/${runlevel}/${initd}"
+       ln -snf "${EPREFIX}/etc/init.d/${initd}" 
"${EROOT}/etc/runlevels/${runlevel}/${initd}"
 }
 
 pkg_postinst() {

Reply via email to