media-sound/pulseaudio: Fixed rm error.

Closes: https://bugs.gentoo.org/658704
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
Lars Wendler
2018-06-26 10:06:48 +02:00
parent 3a74d2be92
commit e9a84ab3f1

View File

@@ -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