dev-lang/erlang: fix systemd unit install, bug #697478
authorSergei Trofimovich <slyfox@gentoo.org>
Fri, 11 Oct 2019 06:48:46 +0000 (07:48 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Fri, 11 Oct 2019 06:51:05 +0000 (07:51 +0100)
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 <slyfox@gentoo.org>
dev-lang/erlang/erlang-22.1.1.ebuild

index 7e8d77b288892464024f0e2d6d9331f5058d6d8a..aaea506fa2cf469a5fef804ed938d9d2541a87cd 100644 (file)
@@ -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() {