index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-01-06 11:52:22 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-01-30 13:45:53 +1000 |
commit | 6be08f76f6c4188f0aa4d0a4d88595a898bf3d3b (patch) | |
tree | f9ce3ecd32d73703ed1de838516a0dfaec848424 /lib/libalpm/be_local.c | |
parent | 819b4cd54e3caec4d3803cc62772369031ed0847 (diff) |
-rw-r--r-- | lib/libalpm/be_local.c | 1 |
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index d6a7b3c0..0b5b266f 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -459,6 +459,7 @@ static int local_db_populate(alpm_db_t *db) /* no database existing yet is not an error */ db->status &= ~DB_STATUS_EXISTS; db->status |= DB_STATUS_MISSING; + db->pkgcache = _alpm_pkghash_create(0); return 0; } RET_ERR(db->handle, ALPM_ERR_DB_OPEN, -1); |