summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-06-26 10:06:48 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-06-26 10:06:48 +0200
commite9a84ab3f13a3bff6ebd2ba46ce913a3a671577f (patch)
treed2f75752cdd46e5a2bc92297da304499c37f0f1c /media-sound
parentx11-misc/i3lock: Fix metadata indentation (diff)
downloadgentoo-e9a84ab3f13a3bff6ebd2ba46ce913a3a671577f.tar.gz
gentoo-e9a84ab3f13a3bff6ebd2ba46ce913a3a671577f.tar.bz2
gentoo-e9a84ab3f13a3bff6ebd2ba46ce913a3a671577f.zip
media-sound/pulseaudio: Fixed rm error.
Closes: https://bugs.gentoo.org/658704 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-sound')
-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