Improved OS detection

This commit is contained in:
Serghey Rodin
2013-10-21 14:29:57 +03:00
parent 1ac8cc2ca1
commit 0ae212e554

View File

@@ -34,7 +34,7 @@ if [ -e '/etc/redhat-release' ]; then
type="rhel"
fi
if [ -e '/etc/lsb-release' ]; then
if [ -e '/etc/lsb-release' ] && [ -e '/etc/debian_version' ]; then
type="ubuntu"
fi