Author: lslezak Date: Wed Apr 9 09:22:20 2008 New Revision: 46263 URL: http://svn.opensuse.org/viewcvs/yast?rev=46263&view=rev Log: - 'clear' command line option works properly (bnc#377068) - 2.13.9 Modified: branches/SuSE-SLE-10-SP2-Branch/sysconfig/VERSION branches/SuSE-SLE-10-SP2-Branch/sysconfig/package/yast2-sysconfig.changes branches/SuSE-SLE-10-SP2-Branch/sysconfig/src/cmdline.ycp Modified: branches/SuSE-SLE-10-SP2-Branch/sysconfig/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/sysconf... ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/sysconfig/VERSION (original) +++ branches/SuSE-SLE-10-SP2-Branch/sysconfig/VERSION Wed Apr 9 09:22:20 2008 @@ -1 +1 @@ -2.13.8 +2.13.9 Modified: branches/SuSE-SLE-10-SP2-Branch/sysconfig/package/yast2-sysconfig.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/sysconf... ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/sysconfig/package/yast2-sysconfig.changes (original) +++ branches/SuSE-SLE-10-SP2-Branch/sysconfig/package/yast2-sysconfig.changes Wed Apr 9 09:22:20 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Apr 7 16:51:11 CEST 2008 - lslezak@suse.cz + +- 'clear' command line option works properly (bnc#377068) +- 2.13.9 + +------------------------------------------------------------------- Thu Nov 9 14:30:48 CET 2006 - lslezak@suse.cz - added RNC schema for Autoyast profile validation (#219011) Modified: branches/SuSE-SLE-10-SP2-Branch/sysconfig/src/cmdline.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/sysconf... ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/sysconfig/src/cmdline.ycp (original) +++ branches/SuSE-SLE-10-SP2-Branch/sysconfig/src/cmdline.ycp Wed Apr 9 09:22:20 2008 @@ -95,7 +95,7 @@ // user has called the module with option VARIABLE=value else if (size(options) == 1) { - y2internal("options: %1", options); + y2milestone("options: %1", options); foreach(string key, any val, options, { variable = key; @@ -104,7 +104,7 @@ ); } - if (variable != "" && value != "") + if (variable != "") { string vid = variable2id(variable); @@ -131,6 +131,9 @@ // set empty value options["value"] = ""; + // do not check if the value is valid + options["force"] = true; + // call set handler return setHandler(options); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org