diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index ba57613ccd..80832c14cb 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,9 @@ +2013-03-25 Hirofumi Kosaka + + * pandora_server_installer: Fixed false recognition of RHEL6.4. + (it had been recoginzed as Ubuntu incorrecty because of its + "/etc/lsb-release"). + 2013-03-20 Ramon Novoa * conf/pandora_server.conf, diff --git a/pandora_server/pandora_server_installer b/pandora_server/pandora_server_installer index dc920932ee..bc150c4b88 100755 --- a/pandora_server/pandora_server_installer +++ b/pandora_server/pandora_server_installer @@ -28,7 +28,7 @@ get_distro () { then OS_VERSION=`cat /etc/SuSE-release | grep VERSION | cut -f 3 -d " "` LINUX_DISTRO=SUSE - elif [ -f "/etc/lsb-release" ] + elif [ -f "/etc/lsb-release" ] && [ ! -f "/etc/redhat-release" ] then OS_VERSION=`cat /etc/lsb-release | grep DISTRIB_RELEASE | cut -f 2 -d "="` LINUX_DISTRO=UBUNTU