summaryrefslogtreecommitdiff
path: root/lib/libalpm/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/cache.c')
-rw-r--r--lib/libalpm/cache.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c
index 58717b5a..76222ce2 100644
--- a/lib/libalpm/cache.c
+++ b/lib/libalpm/cache.c
@@ -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();