diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-01-06 17:52:22 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-01-30 04:45:53 +0100 |
commit | 6be08f76f6c4188f0aa4d0a4d88595a898bf3d3b (patch) | |
tree | f9ce3ecd32d73703ed1de838516a0dfaec848424 /lib/libalpm/sync.c | |
parent | 819b4cd54e3caec4d3803cc62772369031ed0847 (diff) | |
download | pacman-6be08f76f6c4188f0aa4d0a4d88595a898bf3d3b.tar.gz 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/sync.c')
0 files changed, 0 insertions, 0 deletions