app-admin/abrt: Use proper PATHs for non /usr merge systems
authorPacho Ramos <pacho@gentoo.org>
Sat, 23 Feb 2019 16:18:56 +0000 (17:18 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sat, 23 Feb 2019 16:18:56 +0000 (17:18 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
app-admin/abrt/abrt-2.12.0-r1.ebuild [moved from app-admin/abrt/abrt-2.12.0.ebuild with 95% similarity]

similarity index 95%
rename from app-admin/abrt/abrt-2.12.0.ebuild
rename to app-admin/abrt/abrt-2.12.0-r1.ebuild
index a8ed0ff492d467dc3845d4e030990e325080b81a..fedc7d3e48b8fced52cffcfc78fde242b307f45c 100644 (file)
@@ -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' \