forked from ariadne/pkgconf
main: make 'world' package virtual
parent
4d027a4366
commit
a75baf5a7b
3
main.c
3
main.c
|
@ -270,6 +270,7 @@ pkg_queue_walk(pkg_queue_t *head)
|
|||
pkg_t world = (pkg_t){
|
||||
.id = "world",
|
||||
.realname = "virtual",
|
||||
.flags = PKG_PROPF_VIRTUAL,
|
||||
};
|
||||
|
||||
/* if maximum_traverse_depth is one, then we will not traverse deeper
|
||||
|
@ -390,6 +391,8 @@ pkg_queue_walk(pkg_queue_t *head)
|
|||
if (wanted_something)
|
||||
printf("\n");
|
||||
|
||||
pkg_free(&world);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue