From: Sergei Trofimovich Date: Fri, 11 Oct 2019 06:48:46 +0000 (+0100) Subject: dev-lang/erlang: fix systemd unit install, bug #697478 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bd13e8bc09deaa423d7c21d01f714d564527b6a4;p=gentoo.git 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 --- 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() {