summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-10-20 20:11:30 +0000
committerJudd Vinet <judd@archlinux.org>2005-10-20 20:11:30 +0000
commit69530cd3d91d3516c244ac2cb249d26f6fcdcd12 (patch)
tree2c01ebe064523f21a17506758e3db574b0761f47 /lib
parent2b43f9836674a29c217f0767c60c6ff4dc20d224 (diff)
added INFRQ_DESC back to the package cache so the group cache will work
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c
index d4e19416..e030c7d7 100644
--- a/lib/libalpm/cache.c
+++ b/lib/libalpm/cache.c
@@ -49,7 +49,8 @@ static int pkg_cmp(const void *p1, const void *p2)
int db_load_pkgcache(pmdb_t *db)
{
pmpkg_t *info;
- unsigned char infolevel = INFRQ_DEPENDS;
+ /* The group cache needs INFRQ_DESC as well */
+ unsigned char infolevel = INFRQ_DEPENDS | INFRQ_DESC;
if(db == NULL) {
return(-1);