mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
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:
parent
1f8221a254
commit
c17f9fd97d
@ -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>
|
2013-03-20 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* conf/pandora_server.conf,
|
* conf/pandora_server.conf,
|
||||||
|
@ -28,7 +28,7 @@ get_distro () {
|
|||||||
then
|
then
|
||||||
OS_VERSION=`cat /etc/SuSE-release | grep VERSION | cut -f 3 -d " "`
|
OS_VERSION=`cat /etc/SuSE-release | grep VERSION | cut -f 3 -d " "`
|
||||||
LINUX_DISTRO=SUSE
|
LINUX_DISTRO=SUSE
|
||||||
elif [ -f "/etc/lsb-release" ]
|
elif [ -f "/etc/lsb-release" ] && [ ! -f "/etc/redhat-release" ]
|
||||||
then
|
then
|
||||||
OS_VERSION=`cat /etc/lsb-release | grep DISTRIB_RELEASE | cut -f 2 -d "="`
|
OS_VERSION=`cat /etc/lsb-release | grep DISTRIB_RELEASE | cut -f 2 -d "="`
|
||||||
LINUX_DISTRO=UBUNTU
|
LINUX_DISTRO=UBUNTU
|
||||||
|
Loading…
x
Reference in New Issue
Block a user