Author: jsuchome Date: Wed Jan 13 09:22:31 2010 New Revision: 60345 URL: http://svn.opensuse.org/viewcvs/yast?rev=60345&view=rev Log: - inst_you: do not run again if there's no patch left (bnc#515138) - 2.19.2 Modified: trunk/online-update/VERSION trunk/online-update/package/yast2-online-update.changes trunk/online-update/src/inst_you.ycp Modified: trunk/online-update/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/VERSION?rev=60345&r1=60344&r2=60345&view=diff ============================================================================== --- trunk/online-update/VERSION (original) +++ trunk/online-update/VERSION Wed Jan 13 09:22:31 2010 @@ -1 +1 @@ -2.19.1 +2.19.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=60345&r1=60344&r2=60345&view=diff ============================================================================== --- trunk/online-update/package/yast2-online-update.changes (original) +++ trunk/online-update/package/yast2-online-update.changes Wed Jan 13 09:22:31 2010 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Jan 13 09:20:17 CET 2010 - jsuchome@suse.cz + +- inst_you: do not run again if there's no patch left (bnc#515138) +- 2.19.2 + +------------------------------------------------------------------- Wed Jan 13 08:33:11 CET 2010 - jsuchome@suse.cz - call inst_suse_register if no update repo is present (bnc#565094) Modified: trunk/online-update/src/inst_you.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/online-update/src/inst_you.ycp?rev=60345&r1=60344&r2=60345&view=diff ============================================================================== --- trunk/online-update/src/inst_you.ycp (original) +++ trunk/online-update/src/inst_you.ycp Wed Jan 13 09:22:31 2010 @@ -310,7 +310,16 @@ else if (ret == `restart_same_step) { Popup::Message (OnlineUpdate::restart_message); - SCR::Write (.target.ycp, restarted_path, 1); + if (more_patches_needed) + { + y2milestone ("restarting YaST, expecting another patches in the next YOU run"); + SCR::Write (.target.ycp, restarted_path, 1); + } + else + { + y2milestone ("restarting YaST, but there are no patches for the next YOU run"); + ret = `restart_yast; + } } if (!already_up) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org