]> Creatis software - creaToolsTools.git/commitdiff
#3044 creaToolsTools Bug New Normal - Fedora 24 ThirdParty library conflict with...
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 22 Dec 2016 16:10:22 +0000 (17:10 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 22 Dec 2016 16:10:22 +0000 (17:10 +0100)
Linux/scripts/Install-Creatools-Bin.sh

index f50fe366b9c231de585b55ad947c26729b5d264d..3d569fdb2ef60277ff5550537526da22d05b9610 100755 (executable)
@@ -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