1
0
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:
Aurelien Foret 2006-03-04 09:42:13 +00:00
parent e50f76bf7c
commit a21b1100e9

View File

@ -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();