]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Fix pb. with 'wogui' argument for shell scripts.
authorakl <akl@opencascade.com>
Tue, 27 May 2008 06:09:53 +0000 (06:09 +0000)
committerakl <akl@opencascade.com>
Tue, 27 May 2008 06:09:53 +0000 (06:09 +0000)
bin/SALOME_InstallWizard
src/SALOME_InstallWizard.cxx

index 3449bc7357002ac52a3805817eeec8c75f62a286..575c854952c6cae0230d40c7825e574c93400375 100755 (executable)
Binary files a/bin/SALOME_InstallWizard and b/bin/SALOME_InstallWizard differ
index 349b8d53694b8a621b8abb685b983b3747e42d73..d3a27ca76aaca8fe70ffc7bfb02e7ece16be9c20 100644 (file)
@@ -2095,12 +2095,10 @@ void SALOME_InstallWizard::launchScript()
     // ... binaries directory
     shellProcess->addArgument( binDir );
     // ... install SALOME with GUI or not?
-    if ( installGuiBtn->state() != QButton::On ) {
-      if ( woGuiModules.find( prodProc ) != woGuiModules.end() )
-       woGuiModules[ prodProc ] == True ? 
-         shellProcess->addArgument( "FALSE" ) : 
-         shellProcess->addArgument( "TRUE" );
-    }
+    if ( woGuiModules.find( prodProc ) != woGuiModules.end() )
+      ( installGuiBtn->state() != QButton::On && woGuiModules[ prodProc ] == True ) ? 
+       shellProcess->addArgument( "FALSE" ) : 
+       shellProcess->addArgument( "TRUE" );
     // ... single installation directory for SALOME modules, if this option was selected
     if ( oneModDirBtn->isChecked() ) {
       MapProducts::Iterator mapIter;