[yast-commit] r63238 - in /trunk/online-update: VERSION package/yast2-online-update.changes src/online_update.ycp
Author: jsuchome Date: Thu Jan 20 14:46:10 2011 New Revision: 63238 URL: http://svn.opensuse.org/viewcvs/yast?rev=63238&view=rev Log: - run repositories module for adding update source (bnc#658711) - 2.20.2 Modified: trunk/online-update/VERSION trunk/online-update/package/yast2-online-update.changes trunk/online-update/src/online_update.ycp Modified: trunk/online-update/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/VERSION?rev=63238&r1=63237&r2=63238&view=diff ============================================================================== --- trunk/online-update/VERSION (original) +++ trunk/online-update/VERSION Thu Jan 20 14:46:10 2011 @@ -1 +1 @@ -2.20.1 +2.20.2 Modified: trunk/online-update/package/yast2-online-update.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/package/yast2-online-update.changes?rev=63238&r1=63237&r2=63238&view=diff ============================================================================== --- trunk/online-update/package/yast2-online-update.changes (original) +++ trunk/online-update/package/yast2-online-update.changes Thu Jan 20 14:46:10 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Jan 20 14:43:08 CET 2011 - jsuchome@suse.cz + +- run repositories module for adding update source (bnc#658711) +- 2.20.2 + +------------------------------------------------------------------- Tue Nov 2 14:52:22 UTC 2010 - lslezak@suse.cz - updated to match the changed StartPackage callback signature Modified: trunk/online-update/src/online_update.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/src/online_update.ycp?rev=63238&r1=63237&r2=63238&view=diff ============================================================================== --- trunk/online-update/src/online_update.ycp (original) +++ trunk/online-update/src/online_update.ycp Thu Jan 20 14:46:10 2011 @@ -19,6 +19,7 @@ import "OnlineUpdateCallbacks"; import "PackageLock"; import "Popup"; + import "Product"; import "Progress"; import "SourceManager"; import "URL"; @@ -108,9 +109,12 @@ if (!is_available && Popup::YesNo (_("No update repository configured yet. Run configuration workflow now?"))) { - // inst_suse_register is still able to configure update repo, - // however this will change in future (see bnc#565094) - any res = WFM::CallFunction ("inst_suse_register", []); + // inst_suse_register is able to configure update repo for SLE, + // for openSUSE, let's use repository manager + string client = "inst_suse_register"; + if (Product::short_name == "openSUSE") + client = "repositories"; + any res = WFM::CallFunction (client, []); if (res != `next && res != `finish) { Wizard::CloseDialog(); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn2.opensuse.org