From a8748ca3c38ae338063a2dde1312e1c977548d8b Mon Sep 17 00:00:00 2001 From: hawk Date: Sun, 17 May 2009 12:22:56 +0000 Subject: [PATCH] - updated for 1.0.20 Changed files: alsa-utils-modprobe.patch -> 1.2 --- alsa-utils-modprobe.patch | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/alsa-utils-modprobe.patch b/alsa-utils-modprobe.patch index fc44150..068839b 100644 --- a/alsa-utils-modprobe.patch +++ b/alsa-utils-modprobe.patch @@ -1,11 +1,19 @@ ---- alsa-utils-1.0.16/alsaconf/alsaconf.in~ 2008-02-05 11:25:23.000000000 +0200 -+++ alsa-utils-1.0.16/alsaconf/alsaconf.in 2008-05-30 14:32:21.779043202 +0300 -@@ -300,7 +300,7 @@ - cfgfile="/etc/modules.d/alsa" - elif [ "$kernel" = "new" ]; then - if [ -d /etc/modprobe.d ]; then -- cfgout="/etc/modprobe.d/sound" -+ cfgout="/etc/modprobe.d/sound.conf" - fi +--- alsa-utils-1.0.20/alsaconf/alsaconf.in.orig 2009-05-06 09:07:24.000000000 +0200 ++++ alsa-utils-1.0.20/alsaconf/alsaconf.in 2009-05-17 14:21:33.032777327 +0200 +@@ -306,14 +306,14 @@ cfgfile="/etc/modprobe.conf" - elif [ "$distribution" = "debian" ]; then + if [ -d /etc/modprobe.d ]; then + cfgout="/etc/modprobe.d/50-sound.conf" +- cfgoldout="/etc/modprobe.d/sound" ++ cfgoldout="/etc/modprobe.d/sound.conf" + if [ ! -f $cfgout ]; then + modver=$(modprobe -V | sed -e's/^module-init-tools version //') + case "$modver" in + 3.[789]*) + ;; + *) +- cfgout="/etc/modprobe.d/sound" ++ cfgout="/etc/modprobe.d/sound.conf" + cfgoldout="" + ;; + esac -- 2.44.0