From 3dff39cf53939022f4209dad647e398f2ee3274b Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 5 Dec 2003 13:13:00 +0000 Subject: [PATCH] More compatible tests --- alsaconf/alsaconf.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alsaconf/alsaconf.in b/alsaconf/alsaconf.in index 00a4a3a..041ba71 100644 --- a/alsaconf/alsaconf.in +++ b/alsaconf/alsaconf.in @@ -26,9 +26,9 @@ 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 +elif [ -f /etc/redhat-release -a `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` != 0 ]; then +elif [ -f /etc/fedora-release -a `grep -c "Fedora" /etc/fedora-release 2>/dev/null` -ne 0 ]; then distribution="fedora" else distribution="unknown"