Fernando Pablo Lopez-Lezcano <[EMAIL PROTECTED]> writes: > > I think we need a similar extension to support Mandrake, after > > installation from the sources all modules in modules.conf where > > gone, except the ones from alsa.. :-) > > I think the patch will fix mandrake too. I have the dubious honor of > being able to claim ownership of the original bug :-( Anything > having a /etc/redhat-release file but without having "Red Hat" > inside would trigger the bug. > > The currently result with Mandrake would be to use the SuSE filter > to try to erase the oss preferences from modules.conf. If the RedHat > filter is better then another "if" could be added to the distro > selection code to include Mandrake.
untested:
Index: alsaconf/alsaconf.in =================================================================== RCS file: /cvsroot/alsa/alsa-utils/alsaconf/alsaconf.in,v retrieving revision 1.5 diff -u -p -r1.5 alsaconf.in --- alsaconf/alsaconf.in 24 Nov 2003 11:42:24 -0000 1.5 +++ alsaconf/alsaconf.in 24 Nov 2003 14:58:43 -0000 @@ -24,6 +24,8 @@ if [ -f /etc/SuSE-release -o -f /etc/Uni distribution="suse" elif [ -f /etc/debian_version ]; then distribution="debian" +elif [ -f /etc/mandrake-release ]; then + distribution="mandrake" elif [ -f /etc/redhat-release -a `grep -c "Red Hat" /etc/redhat-release 2>/dev/null` != 0 ]; then distribution="redhat" elif [ -f /etc/fedora-release -a `grep -c "Fedora" /etc/fedora-release 2>/dev/null` != 0 ]; then