]> git.pld-linux.org Git - packages/alsa-utils.git/commitdiff
- fix test usage
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 20 May 2004 12:40:42 +0000 (12:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    alsa-utils-alsaconf.patch -> 1.1

alsa-utils-alsaconf.patch [new file with mode: 0644]

diff --git a/alsa-utils-alsaconf.patch b/alsa-utils-alsaconf.patch
new file mode 100644 (file)
index 0000000..0c1264d
--- /dev/null
@@ -0,0 +1,14 @@
+--- alsa-utils-1.0.4/alsaconf/alsaconf.in.orig Fri Mar 19 14:29:23 2004
++++ alsa-utils-1.0.4/alsaconf/alsaconf.in      Thu May 20 14:04:12 2004
+@@ -30,9 +30,9 @@
+   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 -sq "Red Hat" /etc/redhat-release ; 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 -sq "Fedora" /etc/fedora-release ; then
+   distribution="fedora"
+ else
+   distribution="unknown"
This page took 0.025837 seconds and 4 git commands to generate.