Hello community,

here is the log from the commit of package alsa for openSUSE:Factory checked in 
at 2014-11-24 11:17:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alsa (Old)
 and      /work/SRC/openSUSE:Factory/.alsa.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alsa"

Changes:
--------
--- /work/SRC/openSUSE:Factory/alsa/alsa.changes        2014-10-25 
08:32:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes   2014-11-24 
11:18:01.000000000 +0100
@@ -1,0 +2,5 @@
+Sun Nov 16 18:10:00 UTC 2014 - Led <[email protected]>
+
+- fix bashism in alsa-init.sh scripts
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------


++++++ alsa-init.sh ++++++
--- /var/tmp/diff_new_pack.mW5BeK/_old  2014-11-24 11:18:02.000000000 +0100
+++ /var/tmp/diff_new_pack.mW5BeK/_new  2014-11-24 11:18:02.000000000 +0100
@@ -5,10 +5,8 @@
 test -s /var/lib/alsa/asound.state && /usr/sbin/alsactl -F restore $1 
>/dev/null 2>&1
 # increase buffer-preallocation size (for PA)
 if [ -f /proc/asound/card$1/pcm0p/sub0/prealloc_max ]; then
-    pmax=$(< /proc/asound/card$1/pcm0p/sub0/prealloc_max)
-    if [ $pmax -gt 1024 ]; then
+    [ $(cat /proc/asound/card$1/pcm0p/sub0/prealloc_max) -le 1024 ] ||
        echo 1024 > /proc/asound/card$1/pcm0p/sub0/prealloc
-    fi
 fi
 
 exit 0


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to