Nowadays Gentoo also uses update-modules, so update alsaconf.

This was originally reported as Gentoo bug #193303 (
https://bugs.gentoo.org/show_bug.cgi?id=193303 ).

Original patch by Jack Kelly <endgame.dos@gmail.com>

Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
This commit is contained in:
Diego 'Flameeyes' Pettenò 2008-11-13 13:23:04 +01:00
parent 6596a405f6
commit 2c79b79b47

View file

@ -908,13 +908,12 @@ BEGIN { in_sound=0; }
farewell farewell
clear clear
if [ "$distribution" = "gentoo" ]; then case "$distribution" in
xecho "Running modules-update..." gentoo | debian)
modules-update xecho "Running update-modules..."
elif [ "$distribution" = "debian" ]; then update-modules
xecho "Running update-modules..." ;;
update-modules esac
fi
if [ -x $rcalsasound ] ; then if [ -x $rcalsasound ] ; then
echo Loading driver... echo Loading driver...
$rcalsasound restart $rcalsasound restart