summaryrefslogtreecommitdiffstats
path: root/abs/core/alsa-utils/alsaconf.patch
blob: ec79fe93f94f218b8ca85707e9b0f09f0fdd0568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff -Naur alsa-utils-1.0.9a-orig/alsaconf/alsaconf.in alsa-utils-1.0.9a/alsaconf/alsaconf.in
--- alsa-utils-1.0.9a-orig/alsaconf/alsaconf.in	2005-03-24 00:24:52.000000000 -0800
+++ alsa-utils-1.0.9a/alsaconf/alsaconf.in	2005-07-18 09:25:02.000000000 -0700
@@ -58,6 +58,8 @@
   distribution="redhat"
 elif test -f /etc/fedora-release && grep -q "Fedora" /etc/fedora-release; then
   distribution="fedora"
+elif test -f /etc/arch-release && grep -q "Arch" /etc/arch-release; then
+  distribution="arch"
 elif [ -f /etc/slackware-version -o -f /etc/slamd64-version ]; then
   distribution="slackware"
 else
@@ -382,6 +384,8 @@
     rcalsasound=/etc/rc.d/init.d/alsasound
 elif [ -x /etc/init.d/alsa ]; then
     rcalsasound=/etc/init.d/alsa
+elif [ -x /etc/rc.d/alsa ]; then
+    rcalsasound=/etc/rc.d/alsa
 else
     rcalsasound=rcalsasound
 fi
--- alsa-utils-1.0.9a-orig/alsaconf/alsaconf.in	2010-01-03 19:44:08.000000000 +0100
+++ alsa-utils-1.0.9a-orig/alsaconf/alsaconf.in	2010-01-03 19:44:08.000000000 +0100
@@ -315,7 +315,7 @@
 	3.[789]*)
 	  ;;
 	*)
-	  cfgout="/etc/modprobe.d/sound"
+	  cfgout="/etc/modprobe.d/sound.conf"
 	  cfgoldout=""
 	  ;;
 	esac