[arch-commits] Commit in alsa-utils/trunk (PKGBUILD alsa)

Tobias Powalowski tpowa at archlinux.org
Sun May 2 14:42:01 UTC 2010


    Date: Sunday, May 2, 2010 @ 10:42:00
  Author: tpowa
Revision: 79271

upgpkg: alsa-utils 1.0.23-2
fix #19314

Modified:
  alsa-utils/trunk/PKGBUILD
  alsa-utils/trunk/alsa

----------+
 PKGBUILD |    4 ++--
 alsa     |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-05-02 14:40:37 UTC (rev 79270)
+++ PKGBUILD	2010-05-02 14:42:00 UTC (rev 79271)
@@ -2,7 +2,7 @@
 # Maintainer: judd <jvinet at zeroflux.org>
 pkgname=alsa-utils
 pkgver=1.0.23
-pkgrel=1
+pkgrel=2
 pkgdesc="An alternative implementation of Linux sound support"
 arch=('i686' 'x86_64')
 url="http://www.alsa-project.org"
@@ -26,6 +26,6 @@
   install -D -m644 ../alsa.conf.d $startdir/pkg/etc/conf.d/alsa
 }
 md5sums=('cb0cf46029ac9549cf3a31bff6a4f4e1'
-         '9dff78913b13b10e67c4195e90395ed2'
+         '3ef812cae83053d01cd560284efad71f'
          '62ebef77d5617d0036012cc541dcf23c'
          '93089f0d8872078939f76dd2acaebc2b')

Modified: alsa
===================================================================
--- alsa	2010-05-02 14:40:37 UTC (rev 79270)
+++ alsa	2010-05-02 14:42:00 UTC (rev 79271)
@@ -19,13 +19,13 @@
     if [ -e /sys/module/snd_ac97_codec/parameters/power_save \
 	  -a $POWERSAVE -ne 0 ]; then
       echo $POWERSAVE > /sys/module/snd_ac97_codec/parameters/power_save
-      echo 1 > /dev/dsp
+      [ -c /dev/dsp ] && echo 1 > /dev/dsp
     fi
 
     if [ -e /sys/module/snd_hda_intel/parameters/power_save \
       -a $POWERSAVE -ne 0 ]; then
       echo $POWERSAVE > /sys/module/snd_hda_intel/parameters/power_save
-      echo 1 > /dev/dsp
+      [ -c /dev/dsp ] && echo 1 > /dev/dsp
     fi
     ;;
   stop)




More information about the arch-commits mailing list