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){
|
pkg_t world = (pkg_t){
|
||||||
.id = "world",
|
.id = "world",
|
||||||
.realname = "virtual",
|
.realname = "virtual",
|
||||||
|
.flags = PKG_PROPF_VIRTUAL,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* if maximum_traverse_depth is one, then we will not traverse deeper
|
/* 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)
|
if (wanted_something)
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
|
pkg_free(&world);
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue