2006-11-27 Manuel Arostegui <marostegui@artica.es>

* linux/pandora_agent.sh: Added new distro detection



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@282 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
marostegui 2006-11-27 09:08:11 +00:00
parent 12ddf6dc7d
commit a31b4822ea
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-11-27 Manuel Arostegui <marostegui@artica.es>
* linux/pandora_agent.sh: Added new distro detection
2006-11-23 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent.sh, linux/pandora_agent_daemon: Update license,

View File

@ -109,6 +109,13 @@ else
else
LINUX_DISTRO=GENERIC
OS_VERSION=`uname -r`
if [ -f "/etc/fedora-release" ]
then
OS_VERSION=`cat /etc/fedora-release | cut -f 4 -d " "`
OS_VERSION="FEDORA $OS_VERSION"
LINUX_DISTRO=FEDORA
fi
fi
fi
fi