net-im/pyicq-t: Fix .service path (#626896)

Package-Manager: Portage-2.3.41, Repoman-2.3.9
This commit is contained in:
Pacho Ramos
2018-07-01 10:23:28 +02:00
parent dec0b64214
commit c17952ae63

View 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}"
}