commit: e9a84ab3f13a3bff6ebd2ba46ce913a3a671577f Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Tue Jun 26 08:06:48 2018 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Tue Jun 26 08:06:48 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9a84ab3
media-sound/pulseaudio: Fixed rm error. Closes: https://bugs.gentoo.org/658704 Package-Manager: Portage-2.3.40, Repoman-2.3.9 media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild b/media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild index 4ed441bbe23..09c196fc43b 100644 --- a/media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild +++ b/media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild @@ -282,7 +282,9 @@ multilib_src_install_all() { systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}.conf" else # Prevent warnings when system-wide is not used, bug #447694 - rm "${ED%/}"/etc/dbus-1/system.d/pulseaudio-system.conf || die + if use dbus ; then + rm "${ED%/}"/etc/dbus-1/system.d/pulseaudio-system.conf || die + fi fi if use zeroconf ; then
