summaryrefslogtreecommitdiffstats
path: root/extra/alsa-utils/alsaconf.patch
blob: fbbd0c5ce6299ee63401177597d015e2a70fe119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"
 else
   distribution="unknown"
 fi
@@ -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