- added the check of mandrake.

This commit is contained in:
Takashi Iwai 2003-11-25 12:15:48 +00:00
parent 7d1c6cbf95
commit cae75d593c

View file

@ -24,6 +24,8 @@ if [ -f /etc/SuSE-release -o -f /etc/UnitedLinux-release ]; then
distribution="suse"
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
distribution="redhat"
elif [ -f /etc/fedora-release -a `grep -c "Fedora" /etc/fedora-release 2>/dev/null` != 0 ]; then