echo " if [ \`getDistrib\` == Fedora ] ; then ">> $filename_BinVersion
echo " VERFINALUSER=Fedora-30 ">> $filename_BinVersion
echo " fi ">> $filename_BinVersion
+ echo " if [ \`getDistrib\` == Ubuntu ] ; then ">> $filename_BinVersion
+ echo " VERFINALUSER=Fedora-30 ">> $filename_BinVersion
+ echo " fi ">> $filename_BinVersion
echo " if [ \`getDistrib\` == MacOS ] ; then ">> $filename_BinVersion
echo " VERFINALUSER=MacOS-10.11.6 ">> $filename_BinVersion
echo " fi ">> $filename_BinVersion
## elif [ "$OS" == Linux ] ; then OS=$(lsb_release -i | awk '{print $3}')
elif [ "$OS" == Linux ] ; then
OS=`awk 'NR==1{print $1}' /etc/system-release`
- if [ "$OS" == "" ] ; then
+ if [ -z "$OS" ] ; then
OS=$(lsb_release -i | awk '{print $3}')
fi
else OS=""