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=f50fe366b9c231de585b55ad947c26729b5d264d;hb=8b92b274af03229d9774f6bbfabc3824c2f29928;hp=6482e11676a91e79b69873b3e28ee5568580edbe;hpb=8ad1ad65387e74837238ff222bbf6bdd1f2f07b7;p=creaToolsTools.git diff --git a/Linux/scripts/Install-Creatools-Bin.sh b/Linux/scripts/Install-Creatools-Bin.sh index 6482e11..f50fe36 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=`awk 'NR==1{print $1}' /etc/system-release` + elif [ "$OS" == Linux ] ; then OS=$(lsb_release -i | awk '{print $3}') + else OS="" fi # checkDistrib $OS