summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-02-23 17:18:56 +0100
committerPacho Ramos <pacho@gentoo.org>2019-02-23 17:18:56 +0100
commitfef0349a136560cd9fb970f1bfa8e817f4d20728 (patch)
treebb4a907b03da439b044976e26343638f6dac7c40 /app-admin/abrt
parentapp-admin/abrt: Version bump to 2.12.0 (diff)
downloadgentoo-fef0349a136560cd9fb970f1bfa8e817f4d20728.tar.gz
gentoo-fef0349a136560cd9fb970f1bfa8e817f4d20728.tar.bz2
gentoo-fef0349a136560cd9fb970f1bfa8e817f4d20728.zip
app-admin/abrt: Use proper PATHs for non /usr merge systems
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'app-admin/abrt')
-rw-r--r--app-admin/abrt/abrt-2.12.0-r1.ebuild (renamed from app-admin/abrt/abrt-2.12.0.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/app-admin/abrt/abrt-2.12.0.ebuild b/app-admin/abrt/abrt-2.12.0-r1.ebuild
index a8ed0ff492d4..fedc7d3e48b8 100644
--- a/app-admin/abrt/abrt-2.12.0.ebuild
+++ b/app-admin/abrt/abrt-2.12.0-r1.ebuild
@@ -64,6 +64,9 @@ src_prepare() {
# Install under proper directory
sed -i -e 's:dbusabrtdocdir = ${datadir}/doc/abrt-dbus-${VERSION}/html:dbusabrtdocdir = ${datadir}/doc/${PF}/html:' doc/problems-service/Makefile.am || die
+ # Ensure this works for systemd with and without /usr merge
+ sed -i -e "s:/usr/bin/bash:$(which bash):" init-scripts/abrtd.service || die
+
# pyhook test is sensitive to the format of python's error messages, and
# fails with certain python versions
sed -e '/pyhook.at/ d' \