X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Fscripts%2FInstall-Creatools-Bin.sh;h=3d569fdb2ef60277ff5550537526da22d05b9610;hb=47b3fdeddecef4f9cfb25b0acac21a2d86fcc7db;hp=6482e11676a91e79b69873b3e28ee5568580edbe;hpb=0b9e4ff6c69b570848e85151cb8d5e3581a320db;p=creaToolsTools.git diff --git a/Linux/scripts/Install-Creatools-Bin.sh b/Linux/scripts/Install-Creatools-Bin.sh index 6482e11..3d569fd 100755 --- a/Linux/scripts/Install-Creatools-Bin.sh +++ b/Linux/scripts/Install-Creatools-Bin.sh @@ -28,7 +28,10 @@ function getDistrib { local OS=`uname` if [ "$OS" == Darwin ] ; then OS=MacOS; - elif [ "$OS" == Linux ] ; then OS=`awk 'NR==1{print $1}' /etc/system-release` +##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` + else OS="" fi # checkDistrib $OS