2009-12-18 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_installer, * linux/DEBIAN/control, * linux/pandora_agent.spec: Updated versions. * unix/pandora_agent: Fixed bug #2887050. Updated version git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
811350f5ff
commit
ff40bdaeec
|
@ -1,3 +1,11 @@
|
|||
2009-12-18 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* unix/pandora_agent_installer,
|
||||
* linux/DEBIAN/control,
|
||||
* linux/pandora_agent.spec: Updated versions.
|
||||
|
||||
* unix/pandora_agent: Fixed bug #2887050. Updated version
|
||||
|
||||
2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* linux/DEBIAN/postinst: change the code to insert as service the agent.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
package: PandoraFMS-Agent
|
||||
Version: 3.0.0.RC3
|
||||
Version: 3.0.0
|
||||
Architecture: all
|
||||
Priority: optional
|
||||
Section: admin
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
Summary: Pandora FMS Linux agent
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: 2
|
||||
Release: 4
|
||||
License: GPL
|
||||
Vendor: ArticaST <http://www.artica.es>
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
|
|
@ -486,18 +486,13 @@ sub guess_os_version ($) {
|
|||
# Linux
|
||||
return `lsb_release -sd` if ($os eq 'linux');
|
||||
|
||||
# Solaris
|
||||
return `uname -r` if ($os eq 'solaris');
|
||||
|
||||
# AIX
|
||||
if ($os eq 'aix') {
|
||||
return "$2.$1" if (`uname -rv` =~ /\s*(\d)\s+(\d)\s*/);
|
||||
}
|
||||
|
||||
# HP-UX
|
||||
return `uname -r` if ($os eq 'aix');
|
||||
|
||||
return '';
|
||||
# Solaris, HP-UX, BSD and others
|
||||
return `uname -r`;
|
||||
}
|
||||
|
||||
################################################################################
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#
|
||||
# This is a generic installer for all Unix-like systems.(AIX, HP-UX, SunOS, Linux)
|
||||
# Please see http://www.pandorafms.org
|
||||
# v3.0 Build 091103
|
||||
# v3.0 Build 091215
|
||||
# This code is licensed under GPL 2.0 license.
|
||||
# **********************************************************************
|
||||
|
||||
|
|
Loading…
Reference in New Issue