Author: jdsn Date: Mon Jan 21 23:09:15 2008 New Revision: 43808 URL: http://svn.opensuse.org/viewcvs/yast?rev=43808&view=rev Log: bug fix to be able to write to suseRegister.conf Modified: branches/SuSE-SLE-10-SP2-Branch/registration/src/modules/Register.ycp Modified: branches/SuSE-SLE-10-SP2-Branch/registration/src/modules/Register.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-SLE-10-SP2-Branch/registration/src/modules/Register.ycp?rev=43808&r1=43807&r2=43808&view=diff ============================================================================== --- branches/SuSE-SLE-10-SP2-Branch/registration/src/modules/Register.ycp (original) +++ branches/SuSE-SLE-10-SP2-Branch/registration/src/modules/Register.ycp Mon Jan 21 23:09:15 2008 @@ -200,7 +200,8 @@ ))); // in case the yep server was already changed do not change it again (to support mobile PCs in different environments) - if ( (string)SCR::Read(.temporary_suseregister_agent.yepurlmodified) == "true" ) + string mod = (string) SCR::Read(.temporary_suseregister_agent.yepurlmodified); + if ( mod == "true" ) { url = nil; y2debug("YEP server has already been modified. I will not change it again."); @@ -209,7 +210,7 @@ cururl = (string) SCR::Read(.temporary_suseregister_agent.url); urlmap = URL::Parse(url); - if ( url != nil && url != "" && urlmap != $[] && urlmap["schema"]:"" == "https" ) + if ( url != nil && url != "" && urlmap != $[] && urlmap["scheme"]:"" == "https" ) { SCR::Write(.temporary_suseregister_agent.url, url); cururl = (string) SCR::Read(.temporary_suseregister_agent.url); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org