File 0012-alsaconf-update-gentoo-to-use-modprobe.d-method-as-e.patch of Package alsa-utils.948

From 54a459a884ea7e8fe7f80ed9bf84b0417205c5d4 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Wed, 13 Nov 2013 13:23:48 -0500
Subject: [PATCH] alsaconf: update gentoo to use modprobe.d method as everyone
 else

We migrated off modules.d a long time ago.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
 alsaconf/alsaconf.in | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in
index 59f25d1ee1d9..3d6adca8b0bd 100644
--- a/alsaconf/alsaconf.in
+++ b/alsaconf/alsaconf.in
@@ -300,9 +300,7 @@ if [ -n "$cfgfile" ]; then
     exit 1
   fi
 else
-if [ "$distribution" = "gentoo" ]; then
-  cfgfile="/etc/modules.d/alsa"
-elif [ "$kernel" = "new" ]; then
+if [ "$kernel" = "new" ]; then
   cfgfile="/etc/modprobe.conf"
   if [ -d /etc/modprobe.d ]; then
     cfgout="/etc/modprobe.d/50-sound.conf"
-- 
1.8.4.3

openSUSE Build Service is sponsored by