Mailinglist Archive: yast-devel (46 mails)

< Previous Next >
[yast-devel] Re: [yast-commit] r64694 - in /branches/SuSE-Code-11-SP2-Branch/add-on: package/yast2-add-on.changes src/add-on_auto.ycp
Dne 1.7.2011 11:06, ug@xxxxxxxxxxxxxxxxx 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: lslezak@xxxxxxx
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: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
This Thread
  • No further messages