diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 8f67e0f24d..1227df4b2c 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2013-03-25 Hirofumi Kosaka + + * pandora_console_install: Fixed false recognition of RHEL6.4 + (it had been recoginzed as Ubuntu incorrecty because of its + "/etc/lsb-release"). + 2013-03-25 Junichi Satoh * include/help/ja/help_manage_alert_list.php: Added description for diff --git a/pandora_console/pandora_console_install b/pandora_console/pandora_console_install index 4d3993f442..09172d920f 100755 --- a/pandora_console/pandora_console_install +++ b/pandora_console/pandora_console_install @@ -25,7 +25,7 @@ get_distro () { OS_VERSION=`cat /etc/SuSE-release | grep VERSION | cut -f 3 -d " "` LINUX_DISTRO=SUSE else - if [ -f "/etc/lsb-release" ] + if [ -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