[yast-commit] r46337 - in /trunk/packager: package/yast2-packager.changes src/clients/repositories.ycp
Author: lslezak Date: Thu Apr 10 13:38:09 2008 New Revision: 46337 URL: http://svn.opensuse.org/viewcvs/yast?rev=46337&view=rev Log: - repositories - do not initialize the package manager when started from sw_single (it's already done) Modified: trunk/packager/package/yast2-packager.changes trunk/packager/src/clients/repositories.ycp Modified: trunk/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=46337&r1=46336&r2=46337&view=diff ============================================================================== --- trunk/packager/package/yast2-packager.changes (original) +++ trunk/packager/package/yast2-packager.changes Thu Apr 10 13:38:09 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Apr 10 13:33:28 CEST 2008 - lslezak@suse.cz + +- repositories - do not initialize the package manager when + started from sw_single (it's already done) + +------------------------------------------------------------------- Thu Apr 10 13:07:25 CEST 2008 - locilka@suse.cz - InstInitSourceMoveDownloadArea has been moved into a separate Modified: trunk/packager/src/clients/repositories.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/repositories.ycp?rev=46337&r1=46336&r2=46337&view=diff ============================================================================== --- trunk/packager/src/clients/repositories.ycp (original) +++ trunk/packager/src/clients/repositories.ycp Thu Apr 10 13:38:09 2008 @@ -1121,8 +1121,12 @@ Wizard::CreateDialog(); Wizard::SetDesktopIcon("sw_source"); - // dialog caption - Wizard::SetContents(_("Initializing..."), `Empty (), "", false, true); + + if (!full_mode) + { + // dialog caption + Wizard::SetContents(_("Initializing..."), `Empty (), "", false, true); + } // check whether running as root if (! Confirm::MustBeRoot () || ! PackageLock::Check ()) @@ -1131,9 +1135,12 @@ return `abort; } - PackageCallbacks::InitPackageCallbacks (); + if (!full_mode) + { + PackageCallbacks::InitPackageCallbacks (); + } - boolean restore = Pkg::SourceRestore(); + boolean restore = (!full_mode) ? Pkg::SourceRestore() : true; if( ! restore ) { boolean cont = Popup::AnyQuestionRichText( -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org