summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/pulseaudio')
-rw-r--r--media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild b/media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild
index 4ed441bbe232..09c196fc43bf 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