summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-04-20 20:39:47 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-04-20 20:40:06 +0200
commiteb42189f3fdc569f7dccd3325a6b3c6fe75fe694 (patch)
treef588042bb6aacc4fd3ea7b343953049fa102471e /x11-apps/radeon-profile-daemon
parentnet-fs/nfs-utils: Added another musl build fix. (diff)
downloadgentoo-eb42189f3fdc569f7dccd3325a6b3c6fe75fe694.tar.gz
gentoo-eb42189f3fdc569f7dccd3325a6b3c6fe75fe694.tar.bz2
gentoo-eb42189f3fdc569f7dccd3325a6b3c6fe75fe694.zip
x11-apps/radeon-profile-daemon: Fixed daemon path in systemd service
Thanks-to: Michael Cook <mcook@mackal.net> Closes: https://bugs.gentoo.org/683914 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'x11-apps/radeon-profile-daemon')
-rw-r--r--x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309-r1.ebuild (renamed from x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309.ebuild)3
-rw-r--r--x11-apps/radeon-profile-daemon/radeon-profile-daemon-99999999.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309.ebuild b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309-r1.ebuild
index 052a3ef3b330..bacc9cb267dc 100644
--- a/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309.ebuild
+++ b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309-r1.ebuild
@@ -27,6 +27,9 @@ src_prepare() {
-e '/^bin\.path/s@/bin@/sbin@' \
-e "/^service\.path/s@=.*\$@= $(systemd_get_systemunitdir)@" \
-i radeon-profile-daemon.pro || die
+ sed \
+ -e '/^ExecStart/s@/bin/@/sbin/@' \
+ -i extra/${PN}.service || die
}
src_configure() {
diff --git a/x11-apps/radeon-profile-daemon/radeon-profile-daemon-99999999.ebuild b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-99999999.ebuild
index 052a3ef3b330..bacc9cb267dc 100644
--- a/x11-apps/radeon-profile-daemon/radeon-profile-daemon-99999999.ebuild
+++ b/x11-apps/radeon-profile-daemon/radeon-profile-daemon-99999999.ebuild
@@ -27,6 +27,9 @@ src_prepare() {
-e '/^bin\.path/s@/bin@/sbin@' \
-e "/^service\.path/s@=.*\$@= $(systemd_get_systemunitdir)@" \
-i radeon-profile-daemon.pro || die
+ sed \
+ -e '/^ExecStart/s@/bin/@/sbin/@' \
+ -i extra/${PN}.service || die
}
src_configure() {