sys-fs/cachefilesd: fix systemd unit path
authorJason Zaman <perfinion@gentoo.org>
Fri, 20 Jul 2018 03:41:47 +0000 (11:41 +0800)
committerJason Zaman <perfinion@gentoo.org>
Fri, 20 Jul 2018 03:42:05 +0000 (11:42 +0800)
Closes: https://bugs.gentoo.org/593088
Package-Manager: Portage-2.3.40, Repoman-2.3.9

sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild [moved from sys-fs/cachefilesd/cachefilesd-0.10.10.ebuild with 94% similarity]

similarity index 94%
rename from sys-fs/cachefilesd/cachefilesd-0.10.10.ebuild
rename to sys-fs/cachefilesd/cachefilesd-0.10.10-r1.ebuild
index 629ffd58c2cfaf2befa14974d419d83ea41c35a4..7a797a7857f23b122c1a24251df04d4a416b268d 100644 (file)
@@ -44,6 +44,7 @@ src_install() {
        newconfd "${FILESDIR}"/${PN}.conf ${PN}
        newinitd "${FILESDIR}"/${PN}-3.init ${PN}
 
+       sed -i 's@ExecStart=/usr@ExecStart=@' ${PN}.service || die "failed to fix path"
        systemd_dounit ${PN}.service
        systemd_newtmpfilesd "${FILESDIR}"/${PN}-tmpfiles.d ${PN}.conf
 }