- else if (!strcmp(name, "repo.group"))
- ctx.cfg.repo_group = xstrdup(value);
- else if (!strcmp(name, "repo.scan"))
- if (!ctx.cfg.nocache && ctx.cfg.cache_size)
- process_cached_repolist(value);
- else
- scan_tree(value);
+ else if (!strcmp(name, "section") || !strcmp(name, "repo.group"))
+ ctx.cfg.section = xstrdup(value);