[-]
[+]
|
Changed |
_service:set_version:inventory-system.spec
|
|
[-]
[+]
|
Changed |
inventory-system.spec
^
|
|
[-]
[+]
|
Changed |
_service:recompress:tar_scm:inventory-system-0.0.rev4264.tar.bz2/client/inventory-system.sh
^
|
@@ -1,8 +1,8 @@
#!/bin/bash
# Inventory System
# Author: Carsten Schoene
-# $LastChangedDate: 2012-11-07 17:54:40 +0100 (Wed, 07 Nov 2012) $
-# $Rev: 4263 $
+# $LastChangedDate: 2012-11-07 19:39:32 +0100 (Wed, 07 Nov 2012) $
+# $Rev: 4264 $
#
# Default options (can be changed by inventory-system.conf)
DEBUG="yes"
@@ -456,7 +456,7 @@
# get distribution
function get_system_os {
[ "`is_disabled $FUNCNAME`" == "1" ] && return
- OSREL=`${LSB_RELEASE} -d | ${AWK} -F":\t" '{print $NF}'`
+ OSREL=`${LSB_RELEASE} -d | ${AWK} -F":\t" '{print $NF}' | ${SED} -r -e 's#(.*)\(.*\)#\1#g'`
debug "SYSTEM-OS: ${OSREL}"
echo ${OSREL}
}
|