summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-07-01 10:23:28 +0200
committerPacho Ramos <pacho@gentoo.org>2018-07-01 10:24:22 +0200
commitc17952ae630beb5f559fd3bd3dd36c67dabfda02 (patch)
tree8a30dfec8000bb103144c23c857a93da39cb3ab3 /net-im/pyicq-t
parentapp-misc/jail: Drop old (diff)
downloadgentoo-c17952ae630beb5f559fd3bd3dd36c67dabfda02.tar.gz
gentoo-c17952ae630beb5f559fd3bd3dd36c67dabfda02.tar.bz2
gentoo-c17952ae630beb5f559fd3bd3dd36c67dabfda02.zip
net-im/pyicq-t: Fix .service path (#626896)
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'net-im/pyicq-t')
-rw-r--r--net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
index 39f7edef3082..d9e5fd57fdf4 100644
--- a/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
+++ b/net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild
@@ -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}"
}