forked from pool/pulseaudio
463388cda5
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=b45128f7b3bb89343a5750f38f143738
35 lines
730 B
Diff
35 lines
730 B
Diff
Index: src/daemon/start-pulseaudio-x11.in
|
|
===================================================================
|
|
--- src/daemon/start-pulseaudio-x11.in.orig
|
|
+++ src/daemon/start-pulseaudio-x11.in
|
|
@@ -19,6 +19,12 @@
|
|
|
|
set -e
|
|
|
|
+. /etc/sysconfig/sound
|
|
+
|
|
+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] ; then
|
|
+ exit 1
|
|
+fi
|
|
+
|
|
[ -z "$PULSE_SERVER" ]
|
|
|
|
@PA_BINARY@ --start "$@"
|
|
Index: src/daemon/start-pulseaudio-kde.in
|
|
===================================================================
|
|
--- src/daemon/start-pulseaudio-kde.in.orig
|
|
+++ src/daemon/start-pulseaudio-kde.in
|
|
@@ -19,6 +19,12 @@
|
|
|
|
set -e
|
|
|
|
+. /etc/sysconfig/sound
|
|
+
|
|
+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] ; then
|
|
+ exit 1
|
|
+fi
|
|
+
|
|
[ -z "$PULSE_SERVER" ]
|
|
|
|
@PA_BINARY@ --start "$@"
|