From: akl Date: Tue, 27 May 2008 06:09:53 +0000 (+0000) Subject: Fix pb. with 'wogui' argument for shell scripts. X-Git-Tag: V4_1_3~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=619b6b1d53bd06ff89de6d0c9daa46bc8586e341;p=tools%2Finstall.git Fix pb. with 'wogui' argument for shell scripts. --- diff --git a/bin/SALOME_InstallWizard b/bin/SALOME_InstallWizard index 3449bc7..575c854 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 349b8d5..d3a27ca 100644 --- a/src/SALOME_InstallWizard.cxx +++ b/src/SALOME_InstallWizard.cxx @@ -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;