mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:25:42 +01:00
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:
parent
6596a405f6
commit
2c79b79b47
1 changed files with 6 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue