From 8b92b274af03229d9774f6bbfabc3824c2f29928 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Sat, 15 Oct 2016 16:07:20 +0200 Subject: [PATCH] #3027 creaToolsTools Bug New Normal -- Get distribution (Ubuntu) not working --- Linux/scripts/Install-Creatools-Bin.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.44.0