make cache works when loading it with DEPENDS info only
This commit is contained in:
parent
e50f76bf7c
commit
a21b1100e9
1 changed files with 4 additions and 0 deletions
|
@ -173,6 +173,10 @@ int _alpm_db_load_grpcache(pmdb_t *db)
|
||||||
PMList *i;
|
PMList *i;
|
||||||
pmpkg_t *pkg = lp->data;
|
pmpkg_t *pkg = lp->data;
|
||||||
|
|
||||||
|
if(!(pkg->infolevel & INFRQ_DESC)) {
|
||||||
|
_alpm_db_read(pkg->data, INFRQ_DESC, pkg);
|
||||||
|
}
|
||||||
|
|
||||||
for(i = pkg->groups; i; i = i->next) {
|
for(i = pkg->groups; i; i = i->next) {
|
||||||
if(!_alpm_list_is_strin(i->data, db->grpcache)) {
|
if(!_alpm_list_is_strin(i->data, db->grpcache)) {
|
||||||
pmgrp_t *grp = _alpm_grp_new();
|
pmgrp_t *grp = _alpm_grp_new();
|
||||||
|
|
Loading…
Add table
Reference in a new issue