[yast-commit] r40660 - in /trunk/packager: VERSION package/yast2-packager.changes src/clients/inst_productsources.ycp
Author: locilka Date: Fri Aug 31 17:37:01 2007 New Revision: 40660 URL: http://svn.opensuse.org/viewcvs/yast?rev=40660&view=rev Log: - Added commandline support for inst_productsources (#304720). - 2.15.71 Modified: trunk/packager/VERSION trunk/packager/package/yast2-packager.changes trunk/packager/src/clients/inst_productsources.ycp Modified: trunk/packager/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/VERSION?rev=40660&r1=40659&r2=40660&view=diff ============================================================================== --- trunk/packager/VERSION (original) +++ trunk/packager/VERSION Fri Aug 31 17:37:01 2007 @@ -1 +1 @@ -2.15.70 +2.15.71 Modified: trunk/packager/package/yast2-packager.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/package/yast2-packager.changes?rev=40660&r1=40659&r2=40660&view=diff ============================================================================== --- trunk/packager/package/yast2-packager.changes (original) +++ trunk/packager/package/yast2-packager.changes Fri Aug 31 17:37:01 2007 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Fri Aug 31 17:34:40 CEST 2007 - locilka@suse.cz + +- Added commandline support for inst_productsources (#304720). +- 2.15.71 + +------------------------------------------------------------------- Fri Aug 31 12:45:59 CEST 2007 - lslezak@suse.cz - check exit status and report errors when adding online Modified: trunk/packager/src/clients/inst_productsources.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/clients/inst_productsources.ycp?rev=40660&r1=40659&r2=40660&view=diff ============================================================================== --- trunk/packager/src/clients/inst_productsources.ycp (original) +++ trunk/packager/src/clients/inst_productsources.ycp Fri Aug 31 17:37:01 2007 @@ -67,6 +67,7 @@ import "Progress"; import "Stage"; import "Report"; + import "CommandLine"; import "FileUtils"; import "HTTP"; @@ -86,6 +87,14 @@ return `back; } + list args = WFM::Args(); + y2milestone("args: %1", args); + + if (Mode::normal() && size (args)>0) { + CommandLine::Run ($["id":"inst_productsources"]); + return `auto; + } + // (Applicable only in inst-sys) boolean preselect_recommended = true; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org