local OS=`uname`
if [ "$OS" == Darwin ] ; then OS=MacOS;
- elif [ "$OS" == Linux ] ; then OS=`awk 'NR==1{print $1}' /etc/issue`
+ elif [ "$OS" == Linux ] ; then OS=`awk 'NR==1{print $1}' /etc/system-release`
else OS=""
fi
# checkDistrib $OS
local DISTRIB=`getDistrib`
if [ "$DISTRIB" == MacOS ] ; then OSVesion=VOID_Darwin_EED;
- elif [ "$DISTRIB" == Fedora ] ; then OSVersion=`awk 'NR==1{print $3}' /etc/issue`
+ elif [ "$DISTRIB" == Fedora ] ; then OSVersion=`awk 'NR==1{print $3}' /etc/system-release`
elif [ "$DISTRIB" == Ubuntu ] ; then OSVersion=`awk 'NR==1{print $2}' /etc/issue`
else OSVersion="VOID_EED"
fi