diff options
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/pkghash.c | |
parent | 819b4cd54e3caec4d3803cc62772369031ed0847 (diff) | |
download | pacman-6be08f76f6c4188f0aa4d0a4d88595a898bf3d3b.tar.xz |
local_db_populate: initialize empty pkgcache
If the db directory did not exist when local_db_populate was called, the
pkgcache wouldn't be initialized, causing pkghash_add_pkg to fail.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/pkghash.c')
0 files changed, 0 insertions, 0 deletions