Author: schubi2 Date: Wed Aug 20 17:09:30 2008 New Revision: 50245 URL: http://svn.opensuse.org/viewcvs/yast?rev=50245&view=rev Log: Disable package installation and suseConfig in commandline mode cause it has not mainWindow and produce an error message. Modified: trunk/country/language/src/language.ycp Modified: trunk/country/language/src/language.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/language/src/language.ycp?rev=50245&r1=50244&r2=50245&view=diff ============================================================================== --- trunk/country/language/src/language.ycp (original) +++ trunk/country/language/src/language.ycp Wed Aug 20 17:09:30 2008 @@ -80,29 +80,16 @@ Progress::NextStage (); - boolean enough_space = true; - if (Language::PackagesModified ()) - { - if (Mode::commandline ()) - { - // if not commandline, packages were already initialized in - // select_language - enough_space = Language::PackagesInit ( - splitstring (Language::languages, ",")); - } - if (enough_space) - { - PackagesCommit (); - } - } + if (Language::PackagesModified () && !Mode::commandline ()) + PackagesCommit (); Progress::NextStage (); GfxMenu::Update(); Progress::NextStage (); - - WFM::CallFunction ("inst_suseconfig", [ false, false ]); + if (!Mode::commandline ()) + WFM::CallFunction ("inst_suseconfig", [ false, false ]); return true; } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org