xbps-checkvers: list installed subpackages
Subpackages without main package installed wasn't reported at all. This can produce duplicates in output, but checkvers' output isn't good to loop over without passing through ./xbps-src sort-dependencies anyway. Closes: #404 [via git-merge-pr]
This commit is contained in:
parent
9f5a029a3f
commit
18416e2de8
@ -636,7 +636,7 @@ rcv_process_dir(rcv_t *rcv, rcv_proc_func process)
|
||||
if (rcv->show_removed)
|
||||
xbps_dictionary_set_bool(rcv->templates, result->d_name, true);
|
||||
|
||||
if (S_ISLNK(st.st_mode) != 0)
|
||||
if (S_ISLNK(st.st_mode) != 0 && !rcv->installed)
|
||||
continue;
|
||||
|
||||
snprintf(filename, sizeof(filename), "%s/template", result->d_name);
|
||||
|
Loading…
Reference in New Issue
Block a user