Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 29177 Details for
Bug 47289
added gentoo support to the alsaconf script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for /usr/sbin/alsaconf
alsaconf.patch (text/plain), 1.65 KB, created by
Carter Smithhart
on 2004-04-12 18:48:52 UTC
(
hide
)
Description:
patch for /usr/sbin/alsaconf
Filename:
MIME Type:
Creator:
Carter Smithhart
Created:
2004-04-12 18:48:52 UTC
Size:
1.65 KB
patch
obsolete
>--- /usr/sbin/alsaconf 2004-04-03 12:56:47.000000000 -0800 >+++ alsaconf 2004-04-04 11:08:13.435848288 -0700 >@@ -16,6 +16,10 @@ > # the Free Software Foundation; either version 2 of the License, or > # (at your option) any later version. > # >+# Changelog >+# 4/03/04: Carter Smithhart >+# * Added gentoo support >+# > > prefix=/usr > exec_prefix=${prefix} >@@ -30,10 +34,12 @@ > 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` -ne 0 ]; then >+elif [ -f /etc/redhat-release ] && [ `grep -c "Red Hat" /etc/redhat-release 2>/dev/null` -ne 0 ]; then > distribution="redhat" >-elif [ -f /etc/fedora-release -a `grep -c "Fedora" /etc/fedora-release 2>/dev/null` -ne 0 ]; then >+elif [ -f /etc/fedora-release ] && [ `grep -c "Fedora" /etc/fedora-release 2>/dev/null` -ne 0 ]; then > distribution="fedora" >+elif [ -f /etc/gentoo-release ]; then >+ distribution="gentoo" > else > distribution="unknown" > fi >@@ -153,7 +159,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 +657,7 @@ > > farewell "OK, driver $CARD_DRIVER is configured." > clear >- if [ "$distribution" = "debian" ]; then >+ if [ "$distribution" = "debian" ] || [ "$distribution" = "gentoo" ]; then > echo Running update-modules... > update-modules > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47289
:
28918
| 29177