main: make 'world' package virtual

feature/tap-sh
William Pitcock 2012-05-06 21:08:47 -05:00
parent 4d027a4366
commit a75baf5a7b
1 changed files with 3 additions and 0 deletions

3
main.c
View File

@ -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;
}