[yast-commit] r51834 - /trunk/packager/src/include/repositories_include.ycp
Author: lslezak Date: Fri Oct 3 15:59:23 2008 New Revision: 51834 URL: http://svn.opensuse.org/viewcvs/yast?rev=51834&view=rev Log: - fixed adding more than one service at once Modified: trunk/packager/src/include/repositories_include.ycp Modified: trunk/packager/src/include/repositories_include.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/packager/src/include/repositories_include.ycp?rev=51834&r1=51833&r2=51834&view=diff ============================================================================== --- trunk/packager/src/include/repositories_include.ycp (original) +++ trunk/packager/src/include/repositories_include.ycp Fri Oct 3 15:59:23 2008 @@ -71,8 +71,13 @@ { y2milestone("Adding a service of type %1...", service_type); string alias = "service"; + // all current aliases - list<string> aliases = Pkg::ServiceAliases(); + list<string> aliases = maplist(map<string,any> s, serviceStatesOut, + { + return s["alias"]:""; + } + ); // service alias must be unique // if it already exists add "_<number>" suffix to it -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org