From 651c3766f90bd83bbdd5269188a9b73ed0c8b0732662f3187f11e3e47ab5446c Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 6 Sep 2012 12:24:20 +0000 Subject: [PATCH] Accepting request 132941 from home:tiwai:branches:multimedia:libs - Fix the broken setup by setup-pulseaudio when alsa-plugins-pulse doesn't exist (bnc#779039) OBS-URL: https://build.opensuse.org/request/show/132941 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=97 --- pulseaudio.changes | 6 ++++++ setup-pulseaudio | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/pulseaudio.changes b/pulseaudio.changes index 5840e3b..4604fc9 100644 --- a/pulseaudio.changes +++ b/pulseaudio.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 6 14:08:55 CEST 2012 - tiwai@suse.de + +- Fix the broken setup by setup-pulseaudio when alsa-plugins-pulse + doesn't exist (bnc#779039) + ------------------------------------------------------------------- Sat Jul 21 13:58:43 UTC 2012 - zaitor@opensuse.org diff --git a/setup-pulseaudio b/setup-pulseaudio index bab3575..8ef63e0 100644 --- a/setup-pulseaudio +++ b/setup-pulseaudio @@ -77,7 +77,11 @@ enable_kmix() { enable_alsa() { echo "Enabling PulseAudio for ALSA..." - set_variable ALSA_CONFIG_PATH /etc/alsa-pulse.conf + if [ -f /etc/alsa-pulse.conf ]; then + set_variable ALSA_CONFIG_PATH /etc/alsa-pulse.conf + else + echo "Missing /etc/alsa-pluse.conf; please install alsa-plugins-pulse package" + fi } enable_libao() {