From bd13e8bc09deaa423d7c21d01f714d564527b6a4 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Fri, 11 Oct 2019 07:48:46 +0100 Subject: [PATCH] dev-lang/erlang: fix systemd unit install, bug #697478 Reported-by: Dennis Schridde Closes: https://bugs.gentoo.org/697478 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich --- dev-lang/erlang/erlang-22.1.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lang/erlang/erlang-22.1.1.ebuild b/dev-lang/erlang/erlang-22.1.1.ebuild index 7e8d77b28889..aaea506fa2cf 100644 --- a/dev-lang/erlang/erlang-22.1.1.ebuild +++ b/dev-lang/erlang/erlang-22.1.1.ebuild @@ -138,7 +138,7 @@ src_install() { newinitd "${FILESDIR}"/epmd.init-r2 epmd newconfd "${FILESDIR}"/epmd.confd-r1 epmd - use systemd && systemd_dounit "${FILESDIR}"/epmd.service-r1 epmd.service + use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service } pkg_postinst() { -- 2.26.2