if [ "$OS" == Darwin ] ; then OS=MacOS;
##EED2016-10-15
## elif [ "$OS" == Linux ] ; then OS=$(lsb_release -i | awk '{print $3}')
- elif [ "$OS" == Linux ] ; then OS=`awk 'NR==1{print $1}' /etc/system-release`
+ elif [ "$OS" == Linux ] ; then
+ OS=`awk 'NR==1{print $1}' /etc/system-release`
+ if [ "$OS" == "" ] ; then
+ OS=$(lsb_release -i | awk '{print $3}')
+ fi
else OS=""
fi
# checkDistrib $OS