From: rnv Date: Mon, 23 Dec 2013 15:10:25 +0000 (+0000) Subject: Fix get os name for Ubuntu X-Git-Tag: V7_3_0~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=96dfe51bd6b4b12981959136dc103255c35eae54;p=tools%2Finstall.git Fix get os name for Ubuntu --- diff --git a/bin/SALOME_InstallWizard b/bin/SALOME_InstallWizard index 750e705..73fe8fa 100755 Binary files a/bin/SALOME_InstallWizard and b/bin/SALOME_InstallWizard differ diff --git a/src/SALOME_InstallWizard.cxx b/src/SALOME_InstallWizard.cxx index 9228f17..b8f994a 100644 --- a/src/SALOME_InstallWizard.cxx +++ b/src/SALOME_InstallWizard.cxx @@ -698,6 +698,10 @@ QStringList SALOME_InstallWizard::currentPlatform() regvar = QRegExp( "(.*)\\s+[^\\s]*[L|l][I|i][N|n][U|u][X|x][^\\s]*(.*)\\s+([\\d.]*)\\s+" ); pos = regvar.search( str ); } + if ( pos == -1 ) { + regvar = QRegExp( "([A-Za-z]+)\\s+([0-9.]+)\\s+.*" ); + pos = regvar.search( str ); + } if ( pos >= 0 ) { QStringList name; for ( int i = 1; i < regvar.numCaptures(); i++ )