diff options
Diffstat (limited to 'include/osdetection')
-rw-r--r-- | include/osdetection | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osdetection b/include/osdetection index c0e44ca5..890e1b89 100644 --- a/include/osdetection +++ b/include/osdetection @@ -106,7 +106,8 @@ HARDWARE=`uname -m` HOMEDIRS="/home" FIND_BINARIES="whereis -b" - OS_KERNELVERSION=`uname -r` + OS_KERNELVERSION_FULL=`uname -r` + OS_KERNELVERSION=`echo ${OS_KERNELVERSION_FULL} | sed 's/-.*//'` # Amazon if [ -e "/etc/system-release" ]; then |