forked from pool/pulseaudio
Accepting request 1134320 from home:gcomes.obs
- minor fixes for setup-pulseaudio * be sure /etc/profile.d/pulseaudio.sh exists before using grep OBS-URL: https://build.opensuse.org/request/show/1134320 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pulseaudio?expand=0&rev=265
This commit is contained in:
parent
df4733b792
commit
b3fc7f3ac0
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 20 15:57:44 UTC 2023 - Giacomo Comes <gcomes.obs@gmail.com>
|
||||
|
||||
- minor fixes for setup-pulseaudio
|
||||
* be sure /etc/profile.d/pulseaudio.sh exists before using grep
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 20 09:41:37 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
|
@ -157,7 +157,8 @@ enable_openal() {
|
||||
enable_oss() {
|
||||
echo "Enabling PulseAudio for OSS..."
|
||||
for app in $LIST_OF_OSS_APPS; do
|
||||
if grep -q "alias $app='padsp $app'" $PROFNAME; then
|
||||
if test -f $PROFNAME &&
|
||||
grep -q "alias $app='padsp $app'" $PROFNAME; then
|
||||
echo "Application $app already setup for PulseAudio"
|
||||
else
|
||||
echo "alias $app='padsp $app'" >> $PROFNAME
|
||||
@ -179,7 +180,8 @@ enable_sdl() {
|
||||
enable_timidity() {
|
||||
echo "Enabling PulseAudio for Timidity..."
|
||||
# Use esound output for timidity
|
||||
if grep -q "alias timidity='timidity -Oe'" $PROFNAME; then
|
||||
if test -f $PROFNAME &&
|
||||
grep -q "alias timidity='timidity -Oe'" $PROFNAME; then
|
||||
echo "Timidity already setup for using PulseAudio"
|
||||
else
|
||||
echo "alias timidity='timidity -Oe'" >> $PROFNAME
|
||||
|
Loading…
x
Reference in New Issue
Block a user