[Yum] Yumgroups.xml file and why name field?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2004-10-07 at 14:29, Webber, R. Marshall wrote:
> I have a wrapper around yum because I need to be sure that it always
> points to a remote config file that is centrally managed. Recently I've
> added the group_install function and tried to pass group names to my
> bash script wrapper around yum. This fails because many of the group
> names in yumgroups.xml have spaces in them.
> 
> So in short, the question is, why does yum use the <name> field in the
> xml file, but anaconda uses <id> field? Wouldn't it be simpler to keep
> yum in line with anaconda and the comps.xml use of the <id> field. My
> bias is for this because the id field uses single keywords without
> spaces.

Just quote the strings.

yum groupinstall "Some Group Here" "Bar Baz"

Anaconda, via kickstart, at least uses the long names too.

-sv



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux