X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Fscripts%2FInstall-Creatools-Bin.sh;fp=Linux%2Fscripts%2FInstall-Creatools-Bin.sh;h=3d569fdb2ef60277ff5550537526da22d05b9610;hb=47b3fdeddecef4f9cfb25b0acac21a2d86fcc7db;hp=f50fe366b9c231de585b55ad947c26729b5d264d;hpb=c5351cccaed613ac35c2b210140eedef72c616c1;p=creaToolsTools.git diff --git a/Linux/scripts/Install-Creatools-Bin.sh b/Linux/scripts/Install-Creatools-Bin.sh index f50fe36..3d569fd 100755 --- a/Linux/scripts/Install-Creatools-Bin.sh +++ b/Linux/scripts/Install-Creatools-Bin.sh @@ -29,8 +29,8 @@ function getDistrib { if [ "$OS" == Darwin ] ; then OS=MacOS; ##EED2016-10-15 -## elif [ "$OS" == Linux ] ; then OS=`awk 'NR==1{print $1}' /etc/system-release` - elif [ "$OS" == Linux ] ; then OS=$(lsb_release -i | awk '{print $3}') +## elif [ "$OS" == Linux ] ; then OS=$(lsb_release -i | awk '{print $3}') + elif [ "$OS" == Linux ] ; then OS=`awk 'NR==1{print $1}' /etc/system-release` else OS="" fi