]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix get os name for Ubuntu
authorrnv <rnv@opencascade.com>
Mon, 23 Dec 2013 15:10:25 +0000 (15:10 +0000)
committerrnv <rnv@opencascade.com>
Mon, 23 Dec 2013 15:10:25 +0000 (15:10 +0000)
bin/SALOME_InstallWizard
src/SALOME_InstallWizard.cxx

index 750e705a840117fb7c20cea46faf3a30ac00f7a2..73fe8fab1cd3e875ba7c9b38a40abfe921d1c169 100755 (executable)
Binary files a/bin/SALOME_InstallWizard and b/bin/SALOME_InstallWizard differ
index 9228f170997c4f6120c4371428f56fdc9d800696..b8f994a5ce773aa5d11584311fa7d558a5be87f7 100644 (file)
@@ -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++ )