[yast-commit] r67227 - in /trunk/wagon: package/yast2-wagon.changes src/modules/Wagon.ycp
Author: lslezak Date: Tue Jan 17 16:01:03 2012 New Revision: 67227 URL: http://svn.opensuse.org/viewcvs/yast?rev=67227&view=rev Log: - ask user to confirm new licenses at upgrade proposal (bnc#741174) Modified: trunk/wagon/package/yast2-wagon.changes trunk/wagon/src/modules/Wagon.ycp Modified: trunk/wagon/package/yast2-wagon.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/wagon/package/yast2-wagon.changes?rev=67227&r1=67226&r2=67227&view=diff ============================================================================== --- trunk/wagon/package/yast2-wagon.changes (original) +++ trunk/wagon/package/yast2-wagon.changes Tue Jan 17 16:01:03 2012 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Tue Jan 17 14:02:21 UTC 2012 - lslezak@suse.cz + +- ask user to confirm new licenses at upgrade proposal (bnc#741174) + +------------------------------------------------------------------- Mon Jan 2 13:11:06 UTC 2012 - lslezak@suse.cz - install also all applicable patches (except optional ones) Modified: trunk/wagon/src/modules/Wagon.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/wagon/src/modules/Wagon.ycp?rev=67227&r1=67226&r2=67227&view=diff ============================================================================== --- trunk/wagon/src/modules/Wagon.ycp (original) +++ trunk/wagon/src/modules/Wagon.ycp Tue Jan 17 16:01:03 2012 @@ -493,6 +493,13 @@ // set the solve error flag for packages proposal Update::solve_errors = Pkg::PkgSolve(true) ? 0 : Pkg::PkgSolveErrors(); + if (!AcceptLicenses()) + { + // rerun the solver after rejecting a package license + // (setting the package to taboo state) + Update::solve_errors = Pkg::PkgSolve(true) ? 0 : Pkg::PkgSolveErrors(); + } + already_proposed = true; return true; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn2.opensuse.org