mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
make cache works when loading it with DEPENDS info only
This commit is contained in:
parent
e50f76bf7c
commit
a21b1100e9
@ -173,6 +173,10 @@ int _alpm_db_load_grpcache(pmdb_t *db)
|
||||
PMList *i;
|
||||
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) {
|
||||
if(!_alpm_list_is_strin(i->data, db->grpcache)) {
|
||||
pmgrp_t *grp = _alpm_grp_new();
|
||||
|
Loading…
Reference in New Issue
Block a user