From: Jaroslav Kysela Date: Fri, 5 Dec 2003 13:13:00 +0000 (+0000) Subject: More compatible tests X-Git-Tag: v1.0.3~22 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=3dff39cf53939022f4209dad647e398f2ee3274b;p=alsa-utils.git More compatible tests --- 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"