Update of /cvsroot/alsa/alsa-utils/alsaconf In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27234
Modified Files: alsaconf.in Log Message: Gentoo update Index: alsaconf.in =================================================================== RCS file: /cvsroot/alsa/alsa-utils/alsaconf/alsaconf.in,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- alsaconf.in 19 Mar 2004 13:29:23 -0000 1.15 +++ alsaconf.in 19 Apr 2004 14:43:26 -0000 1.16 @@ -26,6 +26,8 @@ # Check for GNU/Linux distributions if [ -f /etc/SuSE-release -o -f /etc/UnitedLinux-release ]; then distribution="suse" +elif [ -f /etc/gentoo-release ]; then + distribution="gentoo" elif [ -f /etc/debian_version ]; then distribution="debian" elif [ -f /etc/mandrake-release ]; then @@ -153,7 +155,9 @@ # cfgfile = base config file to remove/update the sound setting # cfgout = new config file to write the sound setting (if different from $cfgfile) -if [ "$kernel" = "new" ]; then +if [ "$distribution" = "gentoo" ]; then + cfgfile="/etc/modules.d/alsa" +elif [ "$kernel" = "new" ]; then if [ -d /etc/modprobe.d ]; then cfgout="/etc/modprobe.d/sound" fi @@ -649,7 +653,10 @@ farewell "OK, driver $CARD_DRIVER is configured." clear - if [ "$distribution" = "debian" ]; then + if [ "$distribution" = "gentoo" ]; then + echo Running modules-update... + modules-update + elif [ "$distribution" = "debian" ]; then echo Running update-modules... update-modules fi ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog