net-im/pyicq-t: Fix .service path (#626896)
authorPacho Ramos <pacho@gentoo.org>
Sun, 1 Jul 2018 08:23:28 +0000 (10:23 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 1 Jul 2018 08:24:22 +0000 (10:24 +0200)
Package-Manager: Portage-2.3.41, Repoman-2.3.9

net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild

index 39f7edef30820e718f1b0e40f87c52232b708aa9..d9e5fd57fdf403ccc1a840d35ba390f7124691b1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -57,7 +57,7 @@ src_install() {
        newinitd "${FILESDIR}/${PN}-0.8-initd-r1" ${PN}
        systemd_dounit "${FILESDIR}/${PN}.service"
        sed -i -e "s:INSPATH:$(python_get_sitedir)/${PN}:" \
-               "${ED}/etc/init.d/${PN}" "${ED}/usr/lib/systemd/system/${PN}.service" || die
+               "${ED}/etc/init.d/${PN}" "${ED}/$(systemd_get_systemunitdir)/${PN}.service" || die
 
        python_fix_shebang "${D}$(python_get_sitedir)/${PN}"
 }