From eb42189f3fdc569f7dccd3325a6b3c6fe75fe694 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Sat, 20 Apr 2019 20:39:47 +0200 Subject: [PATCH] x11-apps/radeon-profile-daemon: Fixed daemon path in systemd service Thanks-to: Michael Cook Closes: https://bugs.gentoo.org/683914 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Lars Wendler --- ...0190309.ebuild => radeon-profile-daemon-20190309-r1.ebuild} | 3 +++ .../radeon-profile-daemon-99999999.ebuild | 3 +++ 2 files changed, 6 insertions(+) rename x11-apps/radeon-profile-daemon/{radeon-profile-daemon-20190309.ebuild => radeon-profile-daemon-20190309-r1.ebuild} (91%) 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 similarity index 91% rename from x11-apps/radeon-profile-daemon/radeon-profile-daemon-20190309.ebuild rename to 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() { -- 2.26.2