mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 21:26:36 +01:00
More compatible tests
This commit is contained in:
parent
8a28f21db1
commit
3dff39cf53
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue