2013-03-25 Hirofumi Kosaka <kosaka@rworks.jp>

* pandora_server_installer: Fixed false recognition of RHEL6.4.
	(it had been recoginzed as Ubuntu incorrecty because of its
	"/etc/lsb-release").


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7886 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
hkosaka 2013-03-25 05:55:18 +00:00
parent 1f8221a254
commit c17f9fd97d
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-03-25 Hirofumi Kosaka <kosaka@rworks.jp>
* 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 <rnovoa@artica.es>
* conf/pandora_server.conf,

View File

@ -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