Dne 1.7.2011 11:06, [email protected] napsal(a):
> Modified: branches/SuSE-Code-11-SP2-Branch/add-on/src/add-on_auto.ycp
> URL: 
> http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/add-on/src/add-on_auto.ycp?rev=64694&r1=64693&r2=64694&view=diff
> ==============================================================================
> --- branches/SuSE-Code-11-SP2-Branch/add-on/src/add-on_auto.ycp (original)
> +++ branches/SuSE-Code-11-SP2-Branch/add-on/src/add-on_auto.ycp Fri Jul  1 
> 11:06:03 2011
> @@ -161,6 +161,13 @@
>      AddOnProduct::add_on_products = maplist (map <string, any> prod, 
> AddOnProduct::add_on_products, {
>       string media = prod["media_url"]:"";
>       string pth = prod["product_dir"]:"/";
> +
> +     if( issubstring( media, "relurl://" ) ) {

Here I'd rather use String::StartsWith(media, "relurl://") although it is very
unlikely that "relurl://" would be in the middle of the URL...


--

Best Regards

Ladislav Slezák
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o.                              e-mail: [email protected]
Lihovarská 1060/12                              tel: +420 284 028 960
190 00 Prague 9                                 fax: +420 284 028 951
Czech Republic                                  http://www.suse.cz/
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to