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
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