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=6482e11676a91e79b69873b3e28ee5568580edbe;hb=a92742a3051a3e7a44178afecdb4f6e267a2fdfd;hp=da113ec0cb67909509cf24774d252377feb780f8;hpb=b5f6bb4022de1a88da93b3091165db6f81c1e717;p=creaToolsTools.git diff --git a/Linux/scripts/Install-Creatools-Bin.sh b/Linux/scripts/Install-Creatools-Bin.sh index da113ec..6482e11 100755 --- a/Linux/scripts/Install-Creatools-Bin.sh +++ b/Linux/scripts/Install-Creatools-Bin.sh @@ -28,7 +28,7 @@ function getDistrib { local OS=`uname` if [ "$OS" == Darwin ] ; then OS=MacOS; - elif [ "$OS" == Linux ] ; then OS=`awk 'NR==1{print $1}' /etc/issue` + elif [ "$OS" == Linux ] ; then OS=`awk 'NR==1{print $1}' /etc/system-release` else OS="" fi # checkDistrib $OS