From 2c79b79b4780cae2192ecfc4ba5615d6b0d13f5b Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Diego=20'Flameeyes'=20Petten=C3=B2?= Date: Thu, 13 Nov 2008 13:23:04 +0100 Subject: [PATCH] Nowadays Gentoo also uses update-modules, so update alsaconf. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit This was originally reported as Gentoo bug #193303 ( https://bugs.gentoo.org/show_bug.cgi?id=193303 ). Original patch by Jack Kelly Signed-off-by: Diego 'Flameeyes' Pettenò --- alsaconf/alsaconf.in | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in index 806ddb6..6e9ff75 100644 --- a/alsaconf/alsaconf.in +++ b/alsaconf/alsaconf.in @@ -908,13 +908,12 @@ BEGIN { in_sound=0; } farewell clear - if [ "$distribution" = "gentoo" ]; then - xecho "Running modules-update..." - modules-update - elif [ "$distribution" = "debian" ]; then - xecho "Running update-modules..." - update-modules - fi + case "$distribution" in + gentoo | debian) + xecho "Running update-modules..." + update-modules + ;; + esac if [ -x $rcalsasound ] ; then echo Loading driver... $rcalsasound restart -- 1.6.0.3